프로젝트 관련 조사/시스템 구축

permission denied @ rb_sysopen 오류 해결 방법

호레 2015. 11. 16. 14:05
반응형

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'

 

반응형