Displaying directory content in Linux / Unix
|Setting access rights in Linux/Unix|
| || 0 |
|Setting access rights in Linux/Unix:chmod 775 //home/adam
or for all subdirectories:chmod 777 -R //home/adam
-rw------- 600 Only owner is authorized to read and save.
-rw-r--r-- 644 Owner is authorized to save and read, and others are authorized to read only.
-rw-rw-rw- 666 All users are authorized to read and save.
-rwx------ 700 Only owner is authorized to read, save and run.
-rwxr-xr-x 755 Owner has all rights to file, others are authorized to read and run only.
-rwxrwxrwx 777 All users have full rights (not recommended).
-rwx--x--x 711 Owner has all rights, others are authorized to run only.
drwx------ 700 Catalogue onwer has full right to it (catalogues start with 'd' at the beginning instead of '-')
drwxr--r-- 744 Owner has full rights to catalogue, others can read only.
- No rights
- Execution (x)
- Writing (w)
- Executing and writing (wx)
- Reading (r)
- Reading and executing (rx)
- Reading and writing (rw)
- Reading, writing and executing (rwx)