In a message dated: Wed, 29 Nov 2000 11:57:57 EST
Andrew Bacchi said:

>Can someone point me to documentation on the web or elsewhere for
>setting the permissions using the sticky bit settings.  I've checked the
>man pages on RH Linux 6.2, and as usual they are only helpful if you
>already know what to do.  In other words as a memory refresher.
>
>I need to set permissions on dirs and keep the file within as the same
>owner and group as the dir.  Thanks for your help.

The man pages don't really do a decent job of describing this.  What you 
really want to do is get your hands on a copy "The Unix System Administration 
Handbook" (also referred to as "The Purple Book" or "The sysadmin bible"):

        Author          Nemeth,Evi; Snyder,Garth; Hein,Trent R.;Seebass,Scott.
        Title           UNIX System Administration Handbook
        Edition         3rd
        Publisher       Prentice Hall
        Year            2000

Though generic to Unix, this book does cover RH Linux.  And since most
things Unix are the same from version to version,  I think you will find that 
this book more than adequately answers almost every question you come up with.

As for sticky bits, briefly, here's the scoop:

        t       sticky bit      set this on the "Other" or "World" permissions
                                to enable everyone the ability to access/delete
                                files in the directory, but restrict them
                                to deleting only those files *they* own

        s       setuid/setgid   set this on the "user" permissions to force
                                executables to run in the environment of
                                that user which owns the executable

                                set this bit on the "group" permissions to 
                                force an executable to run in the environment
                                of the group that "owns" it

                                set this bit on the "group" permissions of
                                *directories* when you want everything created
                                under this tree to inherit the user/group
                                permissions of that directory

I hope that helps, but be sure to get the the sysadmin bible.  It covers all 
this in pretty gory detail and explains it much better than I just did.


-- 
Seeya,
Paul
----
           I'm in shape, my shape just happens to be pear!

         If you're not having fun, you're not doing it right!



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to