Re: difference between stickybit SUID and SGID

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




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@xxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux