Setting access rights in Linux/Unix

Categories
Other
Linux
HTML
Displaying directory content in Linux / Unix
Groups in linux

Setting access rights in Linux/Unix


Answers
 #1      0 
Setting access rights in Linux/Unix:chmod 775 //home/adam or for all subdirectories:chmod 777 -R //home/adam Where: -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.
numbers marking:
0
No rights
1
Execution (x)
2
Writing (w)
3
Executing and writing (wx)
4
Reading (r)
5
Reading and executing (rx)
6
Reading and writing (rw)
7
Reading, writing and executing (rwx)