[Prev][Next][Index][Thread]

Re: your mail



On Wed, 28 Aug 1996, Marc A. Volovic wrote:

> 
> Absolutely FALSE. RTFM Stevens who is, indubitably, God, Messiah and the 
> Holy Virgin rolled into one.

see? I just heard of him here for the first time.

> SGID on a direcroty means that files created in the directory are 
> automagicly chgrp'ed to the group of the directory.

even if the user creating the file is not a member of the group...?

and is it inherited to the directories below, or should they all be marked
sguid as well?

> When used on a DIRECTORY, the sticky bit allows (in an otherwise writable
> directory) deletion (and moving) of files in the said directory ONLY to
> the files' owner, the directory's owner and root. 

.... which is why it is used on directories such as /tmp and
/var/spool/mail

> This information, by the way, is directly from Stevens:
> 
> Advance Programming in the Unix Environment,
> W. Richard Stevens
> Eigth Printing
> (c) 1992 Addison-Wesley.
> ISBN 0-201-56317-7

and since that isn't a very common household book nor a freely distributed
online text, but it IS a much appreciated work of a genious, there is
ample reason to quote it here.


   -------------------------------------------------------------
   Ira Abramov          <ira@scso.com>        Scalable Solutions
   SITE Web Presence ("webspace for rent") http://www.site.co.il
   Beeper 48484 at 03-610-6666, 02-6294-666  FAX (972)2-643-0471
   POBox 3600, Jerusalem 91035, Israel       Tel (972)2-642-6822
   http://www.scso.com/~ira   Check out: http://www.linux.org.il


References: