The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 08:10 PM
SCO stock plummets on Unix verdict - VNUNet.com iBot UNIX and Linux RSS News 0 08-13-2007 07:50 PM
Stock script problems hinch UNIX for Dummies Questions & Answers 1 05-24-2006 02:48 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-10-2001
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
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 03:09 PM..
  #2 (permalink)  
Old 08-10-2001
htsubamoto htsubamoto is offline
Registered User
  
 

Join Date: Jun 2001
Posts: 41
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
patvdv patvdv is offline
Registered User
  
 

Join Date: Jul 2001
Location: Belgium
Posts: 83
The sticky bit on /tmp will prevent users from deleting files any others than owned by themselves.
  #4 (permalink)  
Old 08-10-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,668
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0