Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure aclmode set to DISCARD if not using NFSv4 ACLs on SCALE (#6627)
Having a discard aclmode ensures that users can "undo" an existing native ZFS ACL through chmod or setfacl. The ZoL POSIX ACL implementation writes the POSIX ACL in an xattr separate from the native ZFS ACL and zfs_acl_chmod_setattr() is used to set POSIX mode during setacl and chmod requests. If aclmode is set to DISCARD, then existing native ZFS ACL is replaced with one equivalent to specified mode. This commit also updates acltype property names to correct, final ones returned by openzfs. Legacy acltypes are left available as options to avoid API changes.
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters