The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO stock plummets on Unix verdict - Computing iBot UNIX and Linux RSS News 0 08-13-2007 05:10 PM
SCO stock plummets on Unix verdict - VNUNet.com iBot UNIX and Linux RSS News 0 08-13-2007 04:50 PM
Stock script problems hinch UNIX for Dummies Questions & Answers 1 05-23-2006 11:48 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2001
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
Stumble this Post!
What exactly is Sticky Bit (t)

(yes i read the man page for chmod) and i did a basic search on the web.

but it never really went into any info on it.

the reason i ask is. when my systems receaves an email @ at certer user it has a specific mailer specified and that mailer writes stuff to /tmp well the orig. perms were rwxrwxrwt but i had changed it to 777 and i keept getting errors when i sent it mail. Can someone please explaine what the sticky bit is for?

Last edited by Optimus_P; 08-10-2001 at 12:09 PM.
Forum Sponsor
  #2 (permalink)  
Old 08-10-2001
Registered User
 

Join Date: Jun 2001
Posts: 41
Stumble this Post!
The sticky bit is for the folowing reason:

"With the sticky bit set, only the owner of a file or directory (or the super-user) may change that file's or directory's mode. Only the super-user may set the sticky bit on a non-directory file. If you are not super-user, chmod will mask the sticky-bit but will not return an error. In order to turn on a file's set-group-ID bit, your own group ID must correspond to the file's and group execution must be set."


HTT
  #3 (permalink)  
Old 08-10-2001
patvdv's Avatar
Registered User
 

Join Date: Jul 2001
Location: Belgium
Posts: 83
Stumble this Post!
The sticky bit on /tmp will prevent users from deleting files any others than owned by themselves.
__________________
Patrick Van der Veken - UNIX consultant (c) 2001 - 2001 http://www.baanboard.com - http://www.ux-core.com
'True strength lies in gentleness' - Irish proverb
  #4 (permalink)  
Old 08-10-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,288
Stumble this Post!
Quote:
.
The `sticky bit' is not described by POSIX. The name
derives from the original meaning: keep program text on
swap device. These days, when set for a directory, it
means that only the owner of the file and the owner of
that directory may remove the file from that directory.
(This is commonly used on directories like /tmp that have
general write permission.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0