[CentOS] difference between stickybit SUID and SGID
Silviu Hutanu
silviuhutanu at gmail.com
Fri Jul 9 12:30:45 UTC 2010
Here are my personal notes regarding these special perms :
Octal perm : 4000 (chmod +s ) SUID Other users execute this file as owner
of file
Octal perm: 2000 (chmod +g ) GUID Other users execute this as group of
the file/dir (It can be applyied to directories )
Ocatl perm: 1000 Sticky bit (Ensuring that users cannot delete other
users files in a directory)
SUID : chmod u+s file
GUID: chmod u+g dir
Sticky bit: chmod u+f file/dir
Best regards,
Silviu Hutanu
------------------------------
Nepatec Soft SRL - it consulting & software
N. Titulescu 4
500010 Brasov, Romania
tel/fax: +40 (0)368 003 100
www.nepatec.de
On Fri, Jul 9, 2010 at 3:03 PM, Agnello George <agnello.dsouza at gmail.com>wrote:
> i had a small query , whant is the difference between stickybit SUID and
> SGID , is there any proper site where i can get a clear understanding .
>
>
> --
> Regards
> Agnello D'souza
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100709/84f18843/attachment.html>
More information about the CentOS
mailing list