8.11 Flashcards
A special type of file permission given to a file. This permission grants a user temporary permission to run a program or file with the file owner’s permissions.
Set owner user ID on execution
(SUID )
A special file/directory permission given to a file. This permission grants a user temporary membership to a group so he or she can execute the directory, file, program, or command.
A special type of file/directory permission given to a file that grants temporary permissions to a user to run a program/file with the permissions of the file group permissions to become member of that group to execute the file, e.g. users will get file group’s permissions when executing a directory/file/program/command.
Set group ID up on execution
(SGID )
An attribute that marks a file or directory to prevent anyone except the file owner from executing deletion.
Sticky bit
s in the execute permission position of the user permissions
rwsrw-rw- example
octal value 4
If the SUID bit is set, the program will run with the permissions of the file owner, not with the permissions of the user who runs the program.
SUID (Set User ID)
s in the execute permission position of the group permissions
rwxrwsrw- example
octal value 2
SGID (Set Group ID)
t in the execute permission position of the other permissions
This marks the file in such a way as to prevent the file’s deletion from the system by anyone except the file owner. Setting the sticky bit works particularly well with shared files.
Sticky bits can also be set on directories.
Displays a long file listing. A long file listing shows the permissions for the files (among other information).
ls -l
Assigns a special permission. Be aware of the following syntax options:
chmod