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)
committerJeremy Allison <jra@samba.org>
Thu, 23 Jun 2011 23:18:11 +0000 (01:18 +0200)
commit5d7d52ceea6ac046940ae0a8112ee7ba79ce886d
tree63814023c1bb201d3eff7443a654a4b8d1804435
parenta73abc0403b8267eeb15f9d5f394109495d1b667
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