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>
Tue, 6 Nov 2007 18:30:36 +0000 (19:30 +0100)
Michael

source/smbd/posix_acls.c

index e319a552497c8331a1217fc6ecaf0937a293ae40..c29d56f52487e7e4c079df742c692b0f08a9fed9 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);
 }
 
 /****************************************************************************