From 373bca5bcd9555acda8ecf526c82f136c2312ee8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Dec 2004 06:51:13 +0000 Subject: r4411: when checking for create permissions, we need to check the parent, not the child! (This used to be commit 30b4c20b1c9aea94dd2a0611b58860797d244e5a) --- source4/ntvfs/posix/pvfs_acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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); } -- cgit