Linux
linux -- chmod
자유프로그램
2015. 9. 12. 00:58
반응형
chmod
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
2 – write
4 – read
-- 위의 조합으로 사용한다.
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 >
반응형