git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pysmbd: Add SMB_ACL_EXECUTE to the mask set by make_simple_acl()
[metze/samba/wip.git]
/
source3
/
smbd
/
pysmbd.c
diff --git
a/source3/smbd/pysmbd.c
b/source3/smbd/pysmbd.c
index ed3e23a0dfae6996c1d39e2fed56966a79d41700..6a6a8120f3a2872938ee6f86a15c561a36952c3f 100644
(file)
--- a/
source3/smbd/pysmbd.c
+++ b/
source3/smbd/pysmbd.c
@@
-179,7
+179,7
@@
static SMB_ACL_T make_simple_acl(gid_t gid, mode_t chmod_mode)
{
TALLOC_CTX *frame = talloc_stackframe();
- mode_t mode = SMB_ACL_READ|SMB_ACL_WRITE;
+ mode_t mode = SMB_ACL_READ|SMB_ACL_WRITE
|SMB_ACL_EXECUTE
;
mode_t mode_user = (chmod_mode & 0700) >> 6;
mode_t mode_group = (chmod_mode & 070) >> 3;