Rangkuman Berita Linuxbox.web.id 12 – 18 Maret 2012
14 years ago
Chmod is the option for us to make file or folder have privilage status.
Standard form of chmod is:
$ chmod 421
The first digit : the file / folder is for user.
The second digit : file / folder is for group.
The third: universal user.
The amount of the number, has meanings:
4 >> Allow Read
2 >> Allow Write
1 >> Allow Execute
It is a standar number of chmod. If you meet 7,6,5,3, it must amount of standar number.
7 = 4 + 2 + 1
6 = 4 + 2
5 = 4 + 1
3 = 2 + 1
notes:
.. parent
elshadino act
0 = Nothing
1 = Execute
2 = Write
3 = Execute & Write (2 + 1)
4 = Read
5 = Execute & Read (4 + 1)
6 = Read & Write (4 + 2)
7 = Execute & Read & Write (4 + 2 + 1)
elshadino act