Special Permission

Ãœ  0677 [permission]

v  SUID
 
·        Set User ID – Sweet Bit
·        Value – 4
·        If set value run as owner of file
·        Use for file
·        chmod u+s file1 | chmod 4677 file1 | rwx+s=rws | rw-+s=rwS

v  SGID bit
 
·        Set Group ID
·        Value – 2
·        Use for Directory
·        chmod g+s file1 | chmod 2677 file1 | chmod g-s file1

v  STICKY bit
 
·        Set Others ID
·        Value – 1
·        Use for Directory
·        Anyone can create directory and can be deleted only who created not others
·        chmod o+t file1 | chmod 1677 file1 | chmod o-t file1
 
 

Previous Post Next Post

نموذج الاتصال