Permissions extension setfacl


You want to allow access to files or directories, without giving exclusive use of a given group, user, etc.



Use setfacl. 🙂 See the example and reference tabs.



setfacl -m user:USERID:rw- filename

getfacl filename

Can also do this: getfacl filename1 | setfacl -f – filename

Performing an ls -ld filename, will show a plus in the permission column.



[tags]setfacl, Unix Coding School[/tags]


If you have found my website useful, please consider buying me a coffee below 😉

Leave a Reply

Your email address will not be published. Required fields are marked *