[Samba] Samba on ZFS

Andrea Venturoli ml at netfence.it
Fri Jan 14 07:38:04 UTC 2022

On 1/12/22 21:33, Patrick Goetz via samba wrote:

 > @Roland: Linux and BSD now share a common code base (zfsonlinux is now
 > OpenZFS), so your comment would indicate that vfs_zfsacl is dead, since
 > Solaris appears to be dead.

Not really.

First, OpenZFS is in FreeBSD 13, with 12 still supported until mid 2024.

Second, FreeBSD still has NFSv4 ACLs, even after the switch to OpenZFS.

For the man page:

>      acltype=off|nfsv4|posix
>        Controls whether ACLs are enabled and if so what type of ACL to use.
>        When this property is set to a type of ACL not supported by the current
>        platform, the behavior is the same as if it were set to off.
>            off       default on Linux, when a file system has the acltype
>                      property set to off then ACLs are disabled.
>            noacl     an alias for off
>            nfsv4     default on FreeBSD, indicates that NFSv4-style ZFS ACLs
>                      should be used.  These ACLs can be managed with the
>                      getfacl(1) and setfacl(1).  The nfsv4 ZFS ACL type is not
>                      yet supported on Linux.
>            posix     indicates POSIX ACLs should be used.  POSIX ACLs are
>                      specific to Linux and are not functional on other
>                      platforms.  POSIX ACLs are stored as an extended
>                      attribute and therefore will not overwrite any existing
>                      NFSv4 ACLs which may be set.
>            posixacl  an alias for posix


More information about the samba mailing list