LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2005, 09:47 AM   #1
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
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.
 
Old 10-14-2005, 10:21 AM   #2
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
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
 
Old 10-14-2005, 10:30 AM   #3
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Why don't I have permission ben_h_24 Linux - Newbie 19 09-17-2005 12:51 PM
No permission to PM? Newb001 LQ Suggestions & Feedback 5 06-13-2004 04:22 PM
Permission help again iLLuSionZ Linux - Newbie 12 11-23-2003 08:35 AM
permission help! beautifulmind Linux - General 1 07-24-2002 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration