1748180 Members
4074 Online
108759 Solutions
New Discussion юеВ

Re: file permissions

 
SOLVED
Go to solution
Chad T
Advisor

file permissions

I have a file with the following permissions set on it:

-rwSrwS--T

Can someone explain the S and T?

THanks for your thoughts.

3 REPLIES 3
Ivan Krastev
Honored Contributor
Solution

Re: file permissions

James R. Ferguson
Acclaimed Contributor

Re: file permissions

Hi Chad:

See the manpages for 'chmod'. The "S" is the setuid and setgid bits on without execute permission. The "T" is the sticky-bit on without execute permission.

# touch /tmp/me
# chmod 666 /tmp/me
# chmod u+s /tmp/me
# chmod g+s /tmp/me
# chmod a+t /tmp/me
# ls -l /tmp/me
-rwSrwSrwT 1 root sys 4 May 21 15:46 /tmp/me

Regards!

...JRF...
Chad T
Advisor

Re: file permissions

Thank you kindly for your prompt responses.