Using Access Control Lists (ACL)

From NBSWiki

Jump to: navigation, search

These are only some notes so I can start figuring this out...

kyron ~ # getfacl /__Share/
getfacl: Removing leading '/' from absolute path names
# file: __Share
# owner: root
# group: localusers
user::rwx
group::rwx
other::r-x

kyron ~ # setfacl -Rm d:g:localusers:rwX /__Share/
kyron ~ # setfacl -Rm g:localusers:rwX /__Share/
kyron ~ # setfacl -Rm d:g:localusers:rwX  -Rm g:localusers:rwX /__Share/
kyron ~ # getfacl /__Share/
getfacl: Removing leading '/' from absolute path names
# file: __Share
# owner: root
# group: localusers
user::rwx
group::rwx
group:localusers:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:localusers:rwx
default:mask::rwx
default:other::r-x