Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109824

Ensure aclmode set to DISCARD if not using NFSv4 ACLs on SCALE

    XMLWordPrintable

    Details

      Description

      PR: https://github.com/truenas/middleware/pull/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 aclmode property names to correct, final ones
      returned by openzfs.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  awalker Andrew Walker
                  Reporter:
                  bugclerk Bug Clerk
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: