cancel
Showing results for 
Search instead for 
Did you mean: 

file permissions

 
SOLVED
Go to solution
Highlighted
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
Highlighted
Honored Contributor
Solution

Re: file permissions

Highlighted
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...
Highlighted
Advisor

Re: file permissions

Thank you kindly for your prompt responses.