-   General (
-   -   About Sticky bit... (

masudur_iiu 09-13-2006 10:31 AM

About Sticky bit...
I know about sticky bit but can you tell me how to set a sticky bit?

masudur_iiu 09-13-2006 10:36 AM

-rwxrwxrwt both others execute and sticky bit are set
-rwxrwxr-T sticky bit is set, but others execute is not set

is it the answer?

w3bd3vil 09-13-2006 10:41 AM

yep, that sounds right.

chmod +t /tmp

mjones490 09-13-2006 11:09 AM

There's also a way to set the sticky bits in absolute mode. Just prepend the octal bitmap to the other permission settings. . .

$chmod 7666 theFile
will set all three sticky bits with read/execute permissions for everyone.


masudur_iiu 09-13-2006 11:23 AM

Thank you very much...

All times are GMT -5. The time now is 09:43 PM.