--- Stacey Roberts <[EMAIL PROTECTED]> wrote:
> On Wed, 2003-07-30 at 16:03, Richard Crawford wrote:
> > Stupid question, but what does the "s" do?
> > 
> 
> Sets the sticky bit.

Actually, it sets the 'setgid' bit, in this case, not the 'Sticky' bit.
The sticky bit will prevent a file from being moved (renamed) or
deleted, unless you own the file, you own the directory, the file is
writable by you, or you are root. A sticky bit will be represented in a
filename like this:
-rw-rw-r-t
         ^

The setgid bit sets the group id at execution. In the case of
directories, is causes subdirectories or files  in them to inherit
group ownership.

-Tyler


=====
--
Tyler Godfrey
[EMAIL PROTECTED]

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to