summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index e319a55249..c29d56f524 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -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);
}
/****************************************************************************