svn commit: samba r4411 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Thu Dec 30 06:51:13 GMT 2004


Author: tridge
Date: 2004-12-30 06:51:13 +0000 (Thu, 30 Dec 2004)
New Revision: 4411

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4411

Log:
when checking for create permissions, we need to check the parent, not the child!


Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c	2004-12-30 06:37:37 UTC (rev 4410)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c	2004-12-30 06:51:13 UTC (rev 4411)
@@ -392,7 +392,7 @@
 		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);
 }
 
 



More information about the samba-cvs mailing list