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

Re: [LI] Re: What is SUID ?



On Tue, Dec 28, 1999 at 11:44:39PM +0530, Binand Raj S. wrote:
> Set GID works similar to set UID, here it is the group of the program is set
> to that of the person invoking it (some games are installed as set GID so that
> everyone playing can update the score file, which usually has the group
> write bit turned on;another example is the program write which is set GID to
> tty which is the group of the /dev/tty* entries).

What about set GID and set UID for directories? What do they do?


> The sticky bit is set so that you can give a directory 777 permission, but
> still others won't be able to delete files in that directory that they don't
> own. The only places this is used in Linux are /tmp and /var/tmp where
> everyone can create files, but can delete only files that he/she owns.
> 

And sticky bit for files/binaries?


TIA.

-- 
Do you support 'free software'?  Visit http://mvm.linuxbox.com

Manoj Victor Mathew  (GPG#: 3D96A9B9)
Cochin, India.
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.