summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-11-11 22:07:49 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-11-12 00:05:12 +1100
commita6a01552efe69f6450425b001ad600ec056bd18c (patch)
tree9ca34a2b92aac8ea7b4bd6d005cd8d12507f810f /source3
parent312f8ddae27f6fdf4f325edfa890a7b96cd348b8 (diff)
downloadsamba-a6a01552efe69f6450425b001ad600ec056bd18c.tar.gz
samba-a6a01552efe69f6450425b001ad600ec056bd18c.tar.bz2
samba-a6a01552efe69f6450425b001ad600ec056bd18c.zip
pysmbd: Add SMB_ACL_EXECUTE to the mask set by make_simple_acl()
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/pysmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c
index ed3e23a0df..6a6a8120f3 100644
--- 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;