반응형

sudo chmod -R 1777  /tmp

                               경로

 

 

 

 

What does chmod 1777 mean?

 

comments8 comments. Current rating: 4 stars (3 votes). Leave comments and/ or rate it.

Question:

What does chmod 1777 on a folder mean?
I know that chmod 777 means read/write/execute for everybody. What is the purpose of the additional '1'?

Answer:

The 1 is the "stickc bit". If you perform an ls -l on that folder, you will see a 't' next to it.
The sticky bit 't' means:
'do not let anyone delete this folder or change it's permissions'

 

반응형

'프로젝트 관련 조사 > 시스템 구축' 카테고리의 다른 글

OSSEC intall  (0) 2015.11.25
vmware 네트워크 설정 파일 위치  (0) 2015.11.19
메일 서버 구동의 이해  (0) 2015.11.10
[ubuntu] Apache 포트 변경 방법  (0) 2015.11.09
MySQL SSH 터널링  (0) 2015.11.06

+ Recent posts