ACL

Aus Carl-Christian Sautter - Wiki
Wechseln zu: Navigation, Suche

Get ACLs

getfacl ./Directory

Delete all ACL for directory

setfacl -b -R ./Directory

Set ACLs for directory recursiv

setfacl -R -m u:user1:rwx,g:user1:rwx,u:user2:r-x,g:user2:r-x,o::- ./Directory

Set default ACLs for new files/directorys recursiv

setfacl -d -R -m u:user1:rwx,g:user1:rwx,u:user2:r-x,g:user2:r-x,o::- ./Directory