Understanding Permissions In Linux
777, 755, 750…Wonder what these numbers are? Security access in unix operating systems is controlled by a set of permissions which determine the action that can be performed and the permission group.
A useful bash alias I have is the octal command:
octal () {
stat -f "%Sp %OLp" $1
}
This will output the octal number permissions in addition to the symbolic permissions. (Spaces added for clarity)
server:~$ ls -ll
d rwx r-x r-x 4 root root 4096 Mar 4 17:56 data
server:~$ octal data
d rwx r-x r-x 755
- Read the Ubuntu docs
- Good overview from linux.com
- Quick overview of chmod from thinkplexx.com