LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2005, 09:04 PM   #1
alice95089
Member
 
Registered: Dec 2004
Location: hong kong
Posts: 44

Rep: Reputation: 15
What do it mean by "chmod +t"


Hi all,
I woule like to ask what do the meaning of
chmod +t "file name"?


Thanks
 
Old 01-19-2005, 10:48 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
that's called the "sticky" bit -- a term like most thing Linux left over from long ago and the meaning is now changed.

it is only valid (has an effect) on directories and not files

it sets the directory so only the creaters of files not others with write access can delete them..

i think its effect if for those people designated "other" chmod o+t <dirname>
and is used on world writable directories and i think (but might be wrong) that it is trumped by owner and group settings.
 
Old 01-20-2005, 08:19 AM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
/tmp has it

if it helps anything, my /tmp has it, which (if you think about it) makes a lot of sense (to me, anyways <0.01 wink>).

Jonas
 
  


Reply



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
why "permission denied" though chmod 666? baosheng Linux - Networking 12 10-10-2005 11:40 PM
Why doesn't a wildcard chmod change "dot" files/directories? jht2k Linux - General 1 08-09-2004 02:31 PM
"chmod" vs. "attrib" netsted Linux - General 2 05-12-2004 01:17 PM
accidently set "chmod -R 777 *".. need help? scorpatron Linux - General 10 12-05-2003 03:12 AM
How to type "box" used in chmod cmd dark_light Linux - Newbie 4 03-30-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:04 PM.

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