summaryrefslogtreecommitdiffstats
path: root/source/smbd/open.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-12 00:08:08 +0000
committerJeremy Allison <jra@samba.org>2002-03-12 00:08:08 +0000
commit7d59445b6962547a8938928a9371651a09e26516 (patch)
treecbe9e14f42f589e22524c4480a636c544403452a /source/smbd/open.c
parenta41750f86af2840e207be310d2036fad7bfb7cf3 (diff)
downloadsamba-7d59445b6962547a8938928a9371651a09e26516.tar.gz
samba-7d59445b6962547a8938928a9371651a09e26516.tar.xz
samba-7d59445b6962547a8938928a9371651a09e26516.zip
Added POSIX ACL layer into the vfs.
Jeremy.
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r--source/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index b284175302f..b86d9763a47 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -806,7 +806,7 @@ flags=0x%X flags2=0x%X mode=0%o returned %d\n",
*/
if ((flags2 & O_CREAT) && lp_inherit_acls(SNUM(conn)) &&
- (def_acl = directory_has_default_acl(parent_dirname(fname))))
+ (def_acl = directory_has_default_acl(conn, parent_dirname(fname))))
mode = 0777;
DEBUG(4,("calling open_file with flags=0x%X flags2=0x%X mode=0%o\n",