Fix bug #8254 - "acl check permissions = no" does not work in all cases
authorJeremy Allison <jra@samba.org>
Thu, 23 Jun 2011 21:42:27 +0000 (14:42 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Jun 2011 19:19:03 +0000 (21:19 +0200)
commit83357ecf6adafe3d23ada705e79c3af25ad4e734
tree5e64656a48edbdddaeda51b629d891bc45f1ecbc
parentba118ac287d49267dd2f346d4ddd2e590ebbe653
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.
source3/smbd/file_access.c
source3/smbd/open.c