search for: calculate_open_access_flag

Displaying 1 result from an estimated 1 matches for "calculate_open_access_flag".

2017 Dec 06
0
Does Samba 4.3.11 support for opening file with “APPEND” mode?
...ed as CreateFile("append.txt", FILE_APPEND_DATA, FILE_SHARED_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