Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
commitefda729240e998155e1ba226f14cb61ff80dcd9d
authorJeremy Allison <jra@samba.org>
Fri, 20 Feb 2009 16:22:57 +0000 (20 08:22 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Feb 2009 08:31:06 +0000 (23 09:31 +0100)
tree942515662bc2151e63fce74d02d2447a79ca86b9
parent81c7d422a1c99ad500539b3515a35223d9bf1181
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 7df63394aff2a15d96112378a9e3b0acd9edc56a)
source/modules/nfs4_acls.c