DelphiFAQ Home Search:

What does chmod 1777 mean?

 

comments9 comments. Current rating: 4 stars (4 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'


Content-type: text/html

Comments:

2008-03-11, 12:23:28
anonymous from Syrian Arab Republic  
thank you
2008-07-12, 07:01:52
anonymous from Germany  
rating
Tnx!
2008-08-19, 10:42:31
anonymous from United States  
US

Thanks for the info.
2008-09-08, 08:18:41
anonymous from Guyana  
hey thanks.... I have an issue is it quit evident that chmod 777. can pose a security issue in that it has no restrictions, but when you are required to install a script that demands such permissions to be granted, then i posses another issue with your host provider... many hosts resist from changing ur permissions to this and som get no more than chmod 777...please shed som light on this issue .... anyone .


Keywords:
2009-05-26, 03:17:54
anonymous from Nepal  
rating
thanks
2009-09-30, 02:04:54
anonymous from China  
Tinks
2012-04-26, 00:50:11
anonymous from Netherlands  
beep
2012-08-24, 14:22:03
anonymous from Brazil  
rating
cara muito massa esse 1777
2017-09-28, 20:44:12
Freddie from Rio De Janeiro, Brazil  
rating
I have noticed you don't monetize your page, don't waste your
traffic, you can earn additional cash every month because you've got hi quality content.
If you want to know how to make extra bucks, search for: Mrdalekjd methods for $$$

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: