Getting to know how special permissions works, how to identify and set them.
- Knowledge of the standard unix/linux permissions system
- # – requires given linux commands to be executed with root privileges either
directly as a root user or by use of
- $ – requires given linux commands to be executed as a regular non-privileged user
Normally, on a unix-like operating system, the ownership of files and directories is based on the default
uid (user-id) and
gid (group-id) of the user who created them. The same thing happens when a process is launched: it runs with the effective user-id and group-id of the user who started it, and with the corresponding privileges. This behavior can be modified by using special permissions.