special access permissions suid sgid sticky
SUID : if setuid bit is set, when the file is executed by user, the process will have the same rights as the owner of the file being executed SGID : same as above, but inherits group privileges of the file on execution, not user privileges. Similar way when you create a file within directory, it will inherit the group ownership of the directories. Sticky bit: Sticky bit was used on executables in linux so that they would remain in the memory more time after the initial execution, hoping they would be needed in the near future. But mainly it is on folders, to imply that file or folder created inside a sticky bit enabled folder could only be deleted by the owner. /tmp folder as example ------------------------------------------ set user id files - Run executable files as owner set group id files - run executable files as group owner directory - new files are owned by group owner sticky bit - directories - Delete files only if owner of file or owner of the parent directory ...