diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-02 17:10:27 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-02 17:10:27 -0800 |
commit | 553818add80818909268557665e2760a16f2d8a0 (patch) | |
tree | 365f056e30195f0e057ea25f7fb18d6b74dce4ba /source3/include | |
parent | df4e38fcc3232da3ed63ebca6f7b9ff7665b1e40 (diff) | |
download | samba-553818add80818909268557665e2760a16f2d8a0.tar.gz samba-553818add80818909268557665e2760a16f2d8a0.tar.bz2 samba-553818add80818909268557665e2760a16f2d8a0.zip |
Fix bug #6082 - smbd_gpfs_getacl failed: Windows client canĀ“t rename or delete file
This fixes the generic rename/delete problem for 3.3.0 and above.
Fixed slightly differently to discussions, user viewable modified
ACLs are not a good idea :-).
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 491dd763ff..b441b3476a 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1259,7 +1259,7 @@ struct bitmap { /* Mapping of access rights to UNIX perms. for a UNIX directory. */ #define UNIX_DIRECTORY_ACCESS_RWX FILE_GENERIC_ALL #define UNIX_DIRECTORY_ACCESS_R FILE_GENERIC_READ -#define UNIX_DIRECTORY_ACCESS_W FILE_GENERIC_WRITE +#define UNIX_DIRECTORY_ACCESS_W (FILE_GENERIC_WRITE|FILE_DELETE_CHILD) #define UNIX_DIRECTORY_ACCESS_X FILE_GENERIC_EXECUTE #if 0 |