Bug 6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
Product: Samba 3.3
Classification: Unclassified
Component: File services
Other Solaris
: P3 regression
: ---
Assigned To: Ralph Böhme
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2009-02-20 10:21 UTC by Jeremy Allison
Modified: 2017-09-06 14:17 UTC (History)
1 user (show)

See Also:

Patch for 3.3.x. (1.34 KB, patch)
2009-02-20 10:22 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2009-02-20 10:21:27 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 <jel+iws@iws.cs.uni-magdeburg.de>
Comment 1 Jeremy Allison 2009-02-20 10:22:35 UTC
Created attachment 3948 [details]
Patch for 3.3.x.
Comment 2 Jeremy Allison 2009-02-20 10:27:46 UTC
Fixed in all branches 3.2.x and above.
Comment 3 Ralph Böhme 2017-09-06 14:15:44 UTC
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.