Here is a table explaining common file permissions in Linux/Unix systems, including their numeric (octal) and symbolic representations, along with a description of what each means:
| Octal | Symbolic | Description |
|---|---|---|
| 000 | ---------- | No permissions |
| 100 | --x------ | Execute permission for owner only |
| 200 | -w------- | Write permission for owner only |
| 400 | r-------- | Read permission for owner only |
| 600 | rw------- | Read and write for owner |
| 700 | rwx------ | Read, write, and execute for owner |
| 644 | rw-r--r-- | Read and write for owner, read for group and others |
| 755 | rwxr-xr-x | Read, write, execute for owner; read and execute for group and others |
| 775 | rwxrwxr-x | Read, write, execute for owner and group; read and execute for others |
| 777 | rwxrwxrwx | Read, write, and execute for everyone |
r = readw = writex = execute- = no permissionThe symbolic permission string (e.g., rwxr-xr--) is broken into three groups of three characters each:
Example:
rwxr-xr-- means:rwx)r-x)r--)