I have a script that works with /etc/NetworkManager
:
drwxr-xr-x 6 root root 4096 Apr 3 2017 NetworkManager/
I want to give the user programX
write permission for this folder without changing the ownership.
Is that possible or would I have to change the ownership?
Best Answer
This is what access control lists are for.
The user accountprogramX
now has read, write, and traverse access to the directory, but does not have ownership access.Bonus way of doing this on FreeBSD with its NFS ACLs:
Further reading