Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
commitcdd08fa20f117d6ef333ce278f4868533376f1ba
authorJeremy Allison <jra@samba.org>
Fri, 20 Feb 2009 16:25:29 +0000 (20 08:25 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2009 12:06:49 +0000 (27 13:06 +0100)
tree1cb39e74e6329bca51bdefe0ed8cb5b4eb9f9d2f
parentefca536912b7f2916434cda3fc108bd24c0b638f
Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD
permission bit (which we require before allowing a delete) no one can delete
files without an explicit DELETE_CHILD bit set on the directory. Add this mapping.
Jeremy.
(cherry picked from commit 44e0e830c4c413054bdb30a62629993c4391c492)
source/modules/nfs4_acls.c