zfs/module/os
Andrew 08b7bccff4 NAS-116836 / Force BSD semantics for group ownership if NFSV4ACL (#78)
When a new file is created on FreeBSD it is given the group
of the directory which contains it. On Linux it is given
to either the effective GID of the process (System V semantices)
or the GID of the parent directory (BSD semantics).

Since there is no hard-and-fast rule about creation semantics
for NFSv4 ACLs on Linux, we should opt for what is least likely
to break users permissions on change from FreeBSD to Linux.

Avoid setting actually setting the SGID bit on dirs unless
it was explicitly set.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
2024-02-29 23:31:47 +05:00
..
freebsd Add ability for xattr handler to "strip" NFSv4 ACL (#54) 2024-02-29 23:31:47 +05:00
linux NAS-116836 / Force BSD semantics for group ownership if NFSV4ACL (#78) 2024-02-29 23:31:47 +05:00