Octal ------ 4 - 2 - 1
Symbolic --r - w - x
r= Read
w = write
x = execute
Order : User / Group / Others
To use octal add up the values of the permissions you want to set. So 6 would ber read and write and 5 would be read and execute. You need to do this for each of the potentail users ( User (owner ) / Group / Others (everyone else) . So 755 would be read , write & execute permissions for User , read and execute for both group and others.
Take a look at the chmod man page for the syntax and options on how to apply.
With that said to view files in a directory the permission needs to be 5 ( read and execute ) at minnimum. If you want to allow that group to change or delete the files they also need write permissions ( 2).
Hope this helps.
Last edited by jv2112; 10-11-2012 at 04:46 AM.
Reason: typo
|