Ditulis oleh ch13ry di/pada Juni 11, 2008
Ini merupakan contoh hak permission yang dipakai untuk mengkonfigurasi hak akses file anda
chmod ***
0 = - - - = no access
1 = - - x = execute
2 = - w - = write
3 = - wx = write and execute
4 = r - - = read
5 = r - x = read and execute
6 = rw - = read and write
7 = rwx = read write execute (full access)
misalnya :
chmod 750 foo
^^^
| | `— others have no access
| `—– group has read and execute access
`——- user has full access
contoh permission :
Text Files, Images and PHP Scripts (chmod 604):
- rw- - - - r - - 1 username users 2525 Feb 18 09:17 index.html
Directories (chmod 701):
drwx- - - - - x 2 username users 512 Feb 22 17:48 cgi-bin/
CGI Scripts (chmod 705):
- rwx - - - r - x 1 username users 3040 Feb 22 17:11 counter.cgi
Entri ini dituliskan pada Juni 11, 2008 pada 4:43 am dan disimpan dalam Linux, Tips & Trik.
.
Anda bisa mengikuti setiap tanggapan atas artikel ini melalui RSS 2.0 pengumpan.
Anda bisa tinggalkan tanggapan, atau lacak tautan dari situsmu sendiri.