Commit b29fbc4f authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

server: Set the unix file write mode bit also for FILE_APPEND_DATA access.

parent fcb2c969
...@@ -459,7 +459,7 @@ static mode_t file_access_to_mode( unsigned int access ) ...@@ -459,7 +459,7 @@ static mode_t file_access_to_mode( unsigned int access )
access = generic_file_map_access( access ); access = generic_file_map_access( access );
if (access & FILE_READ_DATA) mode |= 4; if (access & FILE_READ_DATA) mode |= 4;
if (access & FILE_WRITE_DATA) mode |= 2; if (access & (FILE_WRITE_DATA|FILE_APPEND_DATA)) mode |= 2;
if (access & FILE_EXECUTE) mode |= 1; if (access & FILE_EXECUTE) mode |= 1;
return mode; return mode;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment