mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Fix bug 8631 - POSIX ACE x permission becomes rx following mapping to and from a DACL
Reported by David Disseldorp. Fix based on a patch by David. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Nov 29 22:32:27 CET 2011 on sn-devel-104
This commit is contained in:
parent
3ab37a0d0e
commit
6bf97ea3bc
@ -1130,8 +1130,8 @@ uint32_t map_canon_ace_perms(int snum,
|
||||
Map NT perms to a UNIX mode_t.
|
||||
****************************************************************************/
|
||||
|
||||
#define FILE_SPECIFIC_READ_BITS (FILE_READ_DATA|FILE_READ_EA|FILE_READ_ATTRIBUTES)
|
||||
#define FILE_SPECIFIC_WRITE_BITS (FILE_WRITE_DATA|FILE_APPEND_DATA|FILE_WRITE_EA|FILE_WRITE_ATTRIBUTES)
|
||||
#define FILE_SPECIFIC_READ_BITS (FILE_READ_DATA|FILE_READ_EA)
|
||||
#define FILE_SPECIFIC_WRITE_BITS (FILE_WRITE_DATA|FILE_APPEND_DATA|FILE_WRITE_EA)
|
||||
#define FILE_SPECIFIC_EXECUTE_BITS (FILE_EXECUTE)
|
||||
|
||||
static mode_t map_nt_perms( uint32 *mask, int type)
|
||||
|
Loading…
Reference in New Issue
Block a user