summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-23 01:22:32 +0000
committerJeremy Allison <jra@samba.org>2002-10-23 01:22:32 +0000
commitf735551b9edef66b152261cf6eb2f29b7b69d65b (patch)
tree056d6b95538571bb4932c658f2b08a4e491d0d2b /source3/smbd/vfs.c
parent83219da3028a0341a9c7b2db38738ca30288686b (diff)
downloadsamba-f735551b9edef66b152261cf6eb2f29b7b69d65b.tar.gz
samba-f735551b9edef66b152261cf6eb2f29b7b69d65b.tar.bz2
samba-f735551b9edef66b152261cf6eb2f29b7b69d65b.zip
First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy. (This used to be commit 40eafb9dde113af9f7f1808fda22908953f7e8c3)
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.