The Samba-Bugzilla – Bug 6133
Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
Last modified: 2017-09-06 14:17:30 UTC
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.
Reported by Jens Elkner <email@example.com>
Created attachment 3948 [details]
Patch for 3.3.x.
Fixed in all branches 3.2.x and above.
This bugfix has put a fix for a ZFS-only idiosyncrasy into the generic NFS4 framework. This is not the right place, it's eg wrong for GPFS and prevents properly managing ACLs from Windows clients. Certain vendors carry a patch that reverts this change...
Will post a fix that moves the change to ZFS-only.
Some notes as to why ZFS rightly needs this special handling: