Don't repeat fast-pathing...
authorMichael Adam <obnox@samba.org>
Thu, 25 Oct 2007 11:32:56 +0000 (13:32 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 25 Oct 2007 11:32:56 +0000 (13:32 +0200)
Michael

source/smbd/posix_acls.c

index 73c2e65c64ae38858866a243708ec5c2c506bfff..5968e3a2d34845b9ee06be54a06bf18da8a2199c 100644 (file)
@@ -4270,7 +4270,7 @@ bool can_delete_file_in_directory(connection_struct *conn, const char *fname)
 
        /* now for ACL checks */
 
-       return can_access_file(conn, dname, &sbuf, FILE_WRITE_DATA);
+       return can_access_file_acl(conn, dname, &sbuf, FILE_WRITE_DATA);
 }
 
 /****************************************************************************