Fix bug #8254 - "acl check permissions = no" does not work in all cases
commite84a0ffa93a117076f71c1558e3fbe2974147320
authorJeremy Allison <jra@samba.org>
Thu, 23 Jun 2011 22:06:16 +0000 (23 15:06 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Jul 2011 19:51:02 +0000 (26 21:51 +0200)
treedf773854a60b5c22d33c1e9ac44c01e72e7bc33c
parentd89076c06150fee77b0a5ae8a1ca4f6320be92b4
Fix bug #8254 - "acl check permissions = no" does not work in all cases

Move lp_acl_check_permissions() into can_delete_file_in_directory()
where it makes sense. Remove ACL check when requesting DELETE_ACCESS
when lp_acl_check_permissions is false.

Thanks to John Janosik @ IBM for noticing this.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jun 24 01:18:11 CEST 2011 on sn-devel-104
(cherry picked from commit 863548647dabca2c9706fbc48b4ae72277fc8c11)
source3/smbd/file_access.c
source3/smbd/open.c