summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index a0a7b920b8..f6dad7b6e7 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -319,6 +319,9 @@ int vfs_mkdir(connection_struct *conn, const char *name, mode_t mode)
SMB_STRUCT_STAT sbuf;
if(!(ret=conn->vfs_ops.mkdir(conn,name,mode))) {
+
+ inherit_access_acl(conn, name, mode);
+
/*
* Check if high bits should have been set,
* then (if bits are missing): add them.