Hi,

Some Unix(-like) systems like FreeBSD and macOS has support for NFSv4
ACLs. NFSv4 ACLs are more expressive than the POSIX.1e ACLs, and the
conversion from/to Windows ACL is direct and lossless. If support for
NFSv4 ACLs could be added, NTFS-3G might be able to provide near-full
manipulation of ACL entries.

On the user-side API, FreeBSD describes the behavior at [1], and the
Darwin stuff is similar. For the kernel/xattr side, however, FreeBSD
uses "nfs4.acl" while Darwin uses a "com.apple.system.Security"
attribnute. I think the FreeBSD one should be prioritized, as NFS for
Linux seems to use the same stuff. I am happy to set up a VM when
testing is required.
  [1]: https://wiki.freebsd.org/NFSv4_ACLs

On a related note, has anyone really tested ntfs-3g ACL on FreeBSD?
Their POSIX ACL name seems to be "system.posix1e.acl_access" instead
of the Linux "system.posix_acl_access".[1] Their own source tree does
have a lot of references to the Linux name, but maybe I missed some
redirect somewhere.
  [1]: 
https://github.com/freebsd/freebsd/blob/1d6e4247415d264485ee94b59fdbc12e0c566fd0/sys/sys/acl.h

Regards,
Mingye Wang (Artoria2e5)


_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to