summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-30 06:51:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:45 -0500
commit373bca5bcd9555acda8ecf526c82f136c2312ee8 (patch)
tree4808613922ce312d080c2b09dc40085fa85ea18b /source4
parent4f16988ead0684daa4d2ffef01e7b6f61eb83f81 (diff)
downloadsamba-373bca5bcd9555acda8ecf526c82f136c2312ee8.tar.gz
samba-373bca5bcd9555acda8ecf526c82f136c2312ee8.tar.bz2
samba-373bca5bcd9555acda8ecf526c82f136c2312ee8.zip
r4411: when checking for create permissions, we need to check the parent, not the child!
(This used to be commit 30b4c20b1c9aea94dd2a0611b58860797d244e5a)
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/posix/pvfs_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c
index a5cd9ebd79..6741fb851d 100644
--- a/source4/ntvfs/posix/pvfs_acl.c
+++ b/source4/ntvfs/posix/pvfs_acl.c
@@ -392,7 +392,7 @@ NTSTATUS pvfs_access_check_create(struct pvfs_state *pvfs,
return status;
}
- return pvfs_access_check_simple(pvfs, req, name, SEC_DIR_ADD_FILE);
+ return pvfs_access_check_simple(pvfs, req, parent, SEC_DIR_ADD_FILE);
}