[problem]
You want to allow access to files or directories, without giving exclusive use of a given group, user, etc.
[/problem]
[solution]
Use setfacl. 🙂 See the example and reference tabs.
[/solution]
[example]
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.
[/example]
[reference]
[tags]setfacl, Unix Coding School[/tags]
[/reference]
If you have found my website useful, please consider buying me a coffee below 😉