LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   stuck on the sticky bit (https://www.linuxquestions.org/questions/linux-newbie-8/stuck-on-the-sticky-bit-485313/)

tsunami_imcool 09-20-2006 10:17 AM

stuck on the sticky bit
 
what exactly does

chmod a+wt <file>

mean? i got the numbers down, but not this

HappyTux 09-20-2006 10:57 AM

Quote:

Originally Posted by tsunami_imcool
what exactly does

chmod a+wt <file>

mean? i got the numbers down, but not this

It means set all (user, owner, group a for short) writable (w) with the sticky bit (t), the numerical would be chmod 1222 <file>.

Tinkster 09-20-2006 12:13 PM

Quote:

Originally Posted by tsunami_imcool
what exactly does

chmod a+wt <file>

mean? i got the numbers down, but not this

Sticky is only relevant for directories. It means that any user
can read & write files in that directory, but only the user who
owns a file can modify or delete it.



Cheers,
Tink


All times are GMT -5. The time now is 04:29 PM.