LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what does meen drwxr-xr-T permission? (https://www.linuxquestions.org/questions/linux-newbie-8/what-does-meen-drwxr-xr-t-permission-373020/)

angel115 10-14-2005 09:47 AM

what does meen drwxr-xr-T permission?
 
what does meen drwxr-xr-T permission?

I know allready that:
d= that meen it's a directory
rwx= read write and execute right for the owner of the directory
r-x = Read and execute for all user who are from the group
r-T = read and ??????? (i don't know what does the T "upercase" meen). does file can have T as well?


could you remind me as well what does the "x" permition meens for a directory?
I know that for a file that meen in can execute the file but for a directory i'm confuse.

Sorry about this newbie's question but i know it's important to understand the permition system well.

Thanks in advance,
Angel.

looseCannon 10-14-2005 10:21 AM

That 'T' is known as a sticky bit. Take a look at this short article for a quick description of what that is for:

http://www.linuxdevcenter.com/pub/a/...lpt/22_06.html

looseCannon 10-14-2005 10:30 AM

Now that I've actually read your post...

When the 'T' is present, it means that 'x' permission is has not been given on the directory/file. If you give 'x' permission then a 't' will be shown.

You can set the 'T'/'t' with a 4 character permssion, rather than a 3 character. 0777, for example, whould give rwx to owner, group, and world. 1754 would give rwxr-xr-T permission.

The first character controls the SUID, SGID, and Stickbit.

0 = All bits off
1 = Sticky bit on
2 = SGID bit on
4 = SUID bit on
5 = SUID and Sticky bit on
6 = SUID and SGID bit on
7 = All bits on.

To learn more go here: http://www.zzee.com/solutions/linux-...s.shtml#setuid


All times are GMT -5. The time now is 05:00 AM.