diff options
author | Jim McDonough <jmcd@samba.org> | 2005-01-04 20:02:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:46 -0500 |
commit | f29ec019fef6cdce162360d0a4ed45881d2c208a (patch) | |
tree | db12c84a7965a0dcab06728375058f34a52a4ee6 /source3/include | |
parent | d1a61c18fba101e64e6c446491e953c38d721929 (diff) | |
download | samba-f29ec019fef6cdce162360d0a4ed45881d2c208a.tar.gz samba-f29ec019fef6cdce162360d0a4ed45881d2c208a.tar.bz2 samba-f29ec019fef6cdce162360d0a4ed45881d2c208a.zip |
r4514: Fix for bugzilla 1770. Remove READ_ATTRIBUTES from GENERIC_EXECUTE, otherwise
modification of an ACL that contains an ACE with execute only will cause
that to be upgraded to read/execute. Side effect is that dirs/files with
execute only show up as special permissions, which is still correct.
(This used to be commit 8d9dc7d543fd347e47d04157064a2f92fb5c99db)
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 49d3d29ac0..a7db0c0a86 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1066,7 +1066,7 @@ struct bitmap { #define FILE_GENERIC_WRITE (STANDARD_RIGHTS_WRITE_ACCESS|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|\ FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONIZE_ACCESS) -#define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE_ACCESS|FILE_READ_ATTRIBUTES|\ +#define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE_ACCESS|\ FILE_EXECUTE|SYNCHRONIZE_ACCESS) /* Mapping of access rights to UNIX perms. */ |