반응형
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 >
반응형
'Linux' 카테고리의 다른 글
ubuntu -- who ( 접속한 사용자 ), 사용자 강제종료 (0) | 2015.09.12 |
---|---|
ubuntu -- 사용자 추가, 삭제하기 (0) | 2015.09.12 |
ubuntu -- 공개키 ssh 접속 ( 암호없이 접속하기 ) (1) | 2015.09.11 |
ubuntu 서버 -- ssh 접속포트 바꾸기 (0) | 2015.09.11 |
ubuntu -- ssh 서버 설치하기 (0) | 2015.09.11 |