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

This commit is contained in:
Dmitry Timoshkov 2013-10-02 12:19:08 +09:00 committed by Alexandre Julliard
parent fcb2c9690b
commit b29fbc4f00
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ static mode_t file_access_to_mode( unsigned int access )
access = generic_file_map_access( access );
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;
return mode;
}