search for: file_write_data

Displaying 12 results from an estimated 12 matches for "file_write_data".

2006 Mar 20
5
Need some ACL help for win32-file
Hi folks, I''ve got most everything done for the pure Ruby version of win32-file. The last thing left (since I''ll be moving the IO methods to a different package eventually) is the file security stuff. Here''s what I''ve got so far for the get_permissions method. However, I''m stuck at GetAce(). If someone could help me finish up this method, I
2016 Mar 25
0
Setting FS Quota against SAMBA share from windows2k12
...ted in section 2.5 of [MS-FSCC] for Uses of only "Query" MUST be > failed with STATUS_INVALID_INFO_CLASS. > > If the object store supports security and the information class is > FileFsControlInformation or FileFsObjectIdInformation and Open.GrantedAccess > does not include FILE_WRITE_DATA, the server MUST fail the request with > STATUS_ACCESS_DENIED. > > The server MUST apply the information requested to the underlying object > store.<359> If the underlying object store returns an error, the server > MUST fail the request with the error code received. Otherwise,...
2017 Dec 06
0
Does Samba 4.3.11 support for opening file with “APPEND” mode?
...HARED_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE | FILE_FLAG_POSIX_SEMANTICS, NULL). When I look into Samba source code, in function smbd_smb2_create_send, the FILE_FLAG_POSIX_SEMANTICS is removed from in_file_attributes. In function calculate_open_access_flags, FILE_APPEND_DATA is just treated as FILE_WRITE_DATA. So I wonder, samba server maybe not support for opening file in append mode. Is that right? Many thanks for your guidance in advance. -- Thanks & Regards, wei dong
2004 Nov 07
2
Problems with DeviceIoControl()
Hi all, Thanks to Wayne and Park, I''ve got something like this now: static VALUE file_set_compressed(VALUE self, VALUE rbBool){ HANDLE h; BOOL rv; DWORD dwBytesReturned; int fn; USHORT inBuf = COMPRESSION_FORMAT_DEFAULT; if((rbBool != Qtrue) && (rbBool != Qfalse)){ rb_raise(rb_eTypeError,"Argument must be true or false"); }
2020 May 09
1
Win7 clients problem after upgrading samba file server to 4.12 on Arch
Am 5/9/20 um 3:32 PM schrieb Ralph Boehme via samba: > I have a WIP fix for master, can you give it a whirl? here it is. -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46 -------------- next part -------------- A non-text attachment was scrubbed... Name:
2016 Mar 30
0
Fwd: Fwd: Setting FS Quota against SAMBA share from windows2k12
...> failed with STATUS_INVALID_INFO_CLASS. > > > > > > > > If the object store supports security and the information class is > > > > FileFsControlInformation or FileFsObjectIdInformation and > > > Open.GrantedAccess > > > > does not include FILE_WRITE_DATA, the server MUST fail the request > with > > > > STATUS_ACCESS_DENIED. > > > > > > > > The server MUST apply the information requested to the underlying > object > > > > store.<359> If the underlying object store returns an error, the >...
2001 Oct 23
1
samba NT ACL support problem?
...AD_CONTROL SYNCHRONIZE FILE_GENERIC_READ FILE_GENERIC_WRITE FILE_GENERIC_EXECUTE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA FILE_WRITE_EA FILE_EXECUTE FILE_READ_ATTRIBUTES FILE_WRITE_ATTRIB...
2015 Feb 02
0
NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
...FILE_GENERIC_WRITE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA...
2002 Sep 10
2
Who may delete a file ?
Hi All, I was checking the access rights and a problem (hence a question) appeared: Who can delete a file through Samba ? Suppose we have the following situation: drwxrwxrwx john finance directory -rw-r--r-- jack finance directory/file Under unix everyone can delete the file. Under Samba, the documentation says (due to the Windows sementic) you also need the write access to the
2016 Oct 21
3
CTDB and locking issues in 4.4.6 (Classic domain)
> I've now managed to replicate the error on my test setup. I added a > third host and all hell broke loose - no locking at all when opening > Excel files apart from same-host. It seemed fine with two. > > I then downgraded to 4.4.5 and the problem persisted. So it cannot be > a regression from that patch. > > Regards, > > Alex > Here you go: Locked files:
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
...t a/source3/client/client.c b/source3/client/client.c > index 831b9bc..28e98af 100644 > --- a/source3/client/client.c > +++ b/source3/client/client.c > @@ -2498,12 +2498,12 @@ static int cmd_open(void) > > status = cli_ntcreate(targetcli, targetname, 0, > FILE_READ_DATA|FILE_WRITE_DATA, 0, > - FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN, > + 0, FILE_OPEN, > 0x0, 0x0, &fnum, NULL); > if (!NT_STATUS_IS_OK(status)) { > status = cli_ntcreate(targetcli, targetname, 0, > FILE_READ_DATA, 0, > - FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN, &g...
2014 Mar 07
0
Wine release 1.7.14
...s: Add more ITaskFolder::RegisterTask tests. gdiplus/tests: Mark some GdipGetPropertyItem test results as broken under XP. kernel32/tests: Add some tests for CreateFile called on a directory instead of a file. kernel32/tests: Add a test for CreateFile called with TRUNCATE_EXISTING/FILE_WRITE_DATA parameters. Erich Hoover (2): hhctrl.ocx: Support delimited filenames for HH_DISPLAY_TOPIC data. hhctrl.ocx: Permit HTML start/end tags within quoted attributes. Fran?ois Gouget (16): d3d9/tests: Fix some test failures on Windows 2000. oleaut32/tests: Skip the test_stub()...