Dup Ver Goto 📝

FilePermissions

PT2/aw/os/linux does not exist
To
11 lines, 74 words, 509 chars Page 'FilePermissions' does not exist.

Files have permissions of the from rwx. Normally these for User, Group and Other. In addition, Linux supports ACLs.

SetFacl

setfacl is a tool to set acls; getfacl is its counterpart to get them. To e.g. give yourself (say your username is bob) write access to /usr/local/bin, you use the command

sudo setfacl -m u:bob:rwx /usr/local/bin

alternatively, you can do this for a group:

sudo setfacl -m g:adm:rwx /usr/local/bin