sudo apt-get install nfs4-acl-tools acl

getfacl /slozka <===> muzete nahlizet, kdo ma jake opravneni ve slozkce /slozka a to jak uzivatel tak i skupina
getfacl --access /share | setfacl -d -M- /data <===> zkopiruje ty same vlastnosti(opravneni) ze slozky /share na slozku /data
getfacl foo | setfacl -S - bar <===> To copy the ACL from file foo such that the file bar will have the same ACL