Monday, May 5, 2008

Set User ID, Group ID and Sticky Bit

SUID: Set User ID means, when this permission is applied to the executable file, the user who execute the file will have the permissions of the owner of the file while executing.

SGID: Set Group ID


Sticky Bit: When sticky bit is applied to a file, user can remove only if (1) the user is owner of the file (2) the file is in a directory of which the user is the owner OR (3) the user has the write permissions on the file.


No comments: