ACL-related shell tool improvements in TrueNAS 26 and later

I made some minor improvements to ACL-related shell tools for 26.

Historically we’ve had two different tools getfacl/setfacl for POSIX1E acltype and nfs4xdr_getfacl / nfs4xdr_setfacl for NFSv4 acltype.

In 26 / 27 master we now have truenas_getfacl and truenas_setfacl that work for all ACL types. The library driving the tooling is here: GitHub - truenas/truenas_pyos: Additional python os-related modules · GitHub

if morbidly curious. Feel free to take it for a spin and report issues if you encounter anything.

2 Likes