Ch13rY_Blogs

Dont say difficult before you try

chmod Tutorial Permission

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

Tinggalkan Balasan

XHTML: Anda dapat gunakan tag ini: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>