diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/gpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/gpfs.c b/source3/modules/gpfs.c index 3fec7a479d..19050ad3ca 100644 --- a/source3/modules/gpfs.c +++ b/source3/modules/gpfs.c @@ -57,7 +57,7 @@ BOOL set_gpfs_sharemode(files_struct *fsp, uint32 access_mask, DEBUG(10, ("special case am=no_access:%x\n",access_mask)); } else { - deny |= (share_access & (FILE_SHARE_WRITE|FILE_SHARE_DELETE)) ? + deny |= (share_access & FILE_SHARE_WRITE) ? 0 : GPFS_DENY_WRITE; deny |= (share_access & (FILE_SHARE_READ)) ? 0 : GPFS_DENY_READ; |