AIX System 5.2 ML3 -
How do I use the Sticky bit for example I want to change the permissions on this file to be drwxr-sr-- How do i get the "s" into the other group or ownergroup ?
AIX System 5.2 ML3 -
How do I use the Sticky bit for example I want to change the permissions on this file to be drwxr-sr-- How do i get the "s" into the other group or ownergroup ?
Technically, I don't believe this is a sticky bit. It's a set gid, set. I believe drwxrwxrwt ( the t ) would be "sticky"
anyway....
chmod g+s ( group )
Remember their is a difference between rwS and rws as well. the lowercase s is executable.
A sticky bit would have 't' at the end (e.g., rwxrwxrwxt ).
The sticky bit on a directory would let a user remove only their files they own. A sticky bit on a file tells the OS that it will be executed frequently, and thus, is kept in swap, to reduce the time to execute.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.