setfacl -m u::rwx,g:mail:rw file
Sets read, write, and execute permissions for the file owner's ACL entry
and read and write permissions for group mail on file.
setfacl -M file1 file2
Sets/updates the ACL entries contained in file1 on file2.
setfacl -x g:mail:rw file
Remove the group mail ACL entry containing read/write permissions from
file.
setfacl -bn file
Remove all ``access'' ACL entries except for the three required from
file.
getfacl file1 | setfacl -b -n -M - file2
Copy ACL entries from file1 to file2.
https://www.reddit.com/r/freebsd/comments/5ve8yr/acls_in_freebsd_vs_zfs/dfda6rp/
find <dir> -type f -exec setfacl -m u:<user>:rwx::allow {} \;
find <dir> -type d -exec setfacl -m u:<user>:rwx:fd:allow {} \;
DistribStands
find -type f -exec setfacl -m g:DistribStands:rwxpdaARWc:fd:allow {} \;
find -type d -exec setfacl -m g:DistribStands:rwx:fd:allow {} \;
Remove ACLs recursively on FreeNAS
find . -type d -print -exec setfacl -b {} \;
find . -type f -print -exec setfacl -b {} \;
Дивитись на allwork