Fix bug #8254 - "acl check permissions = no" does not work in all cases
authorJeremy Allison <jra@samba.org>
Thu, 23 Jun 2011 22:06:16 +0000 (15:06 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2011 18:38:03 +0000 (20:38 +0200)
commit863548647dabca2c9706fbc48b4ae72277fc8c11
treec9a1d904a5d39157ef76348cd57073a549abf402
parentd8d18fa66464b780818807a4fb50bf458158714a
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
source3/smbd/file_access.c
source3/smbd/open.c