Module: wine Branch: master Commit: 6bd983c97756e5925397626af331a16985d73255 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6bd983c97756e5925397626af3...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Wed Oct 2 14:01:28 2013 +0900
server: Add FILE_APPEND_DATA to the access rights that require unix file write permission.
---
server/file.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/file.h b/server/file.h index aae8b20..493d30b 100644 --- a/server/file.h +++ b/server/file.h @@ -171,7 +171,7 @@ extern void fd_copy_completion( struct fd *src, struct fd *dst ); #define FILE_UNIX_READ_ACCESS (FILE_READ_DATA|FILE_READ_ATTRIBUTES|FILE_READ_EA)
/* access rights that require Unix write permission */ -#define FILE_UNIX_WRITE_ACCESS (FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA) +#define FILE_UNIX_WRITE_ACCESS (FILE_WRITE_DATA|FILE_APPEND_DATA|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA)
/* magic file access rights for mappings */ #define FILE_MAPPING_IMAGE 0x80000000 /* set for SEC_IMAGE mappings */