linux -- chmod

Linux 2015.09.12 00:58

chmod


참고 : http://www.thinkplexx.com/learn/article/unix/command/chmod-permissions-flags-explained-600-0600-700-777-100-etc

      http://linuxcommand.org/lts0070.php

      http://www.ics.uci.edu/computing/linux/file-security.php

      http://linux.die.net/man/1/chmod

      https://ko.wikipedia.org/wiki/Chmod




chmod - change file mode bits




Permissions:

1 – execute

2write

4read


-- 위의 조합으로 사용한다.

3 (1+2) – can execute and write

6 (2+4) – can write and read




<< 사용 예 >>


chmod 600 file – only user (yourself) can read and write

chmod 700 file – only user can read, write and execute


chmod 660 file – user (yourself) & group (your group) can read and write


chmod 666 file – all can read and write

chmod 777 file – all can read, write and execute







< 그림 출처 : http://www.ics.uci.edu/computing/linux/file-security.php >




Posted by 자유프로그램