Linux Today: Linux News On Internet Time.





More on LinuxToday


How to use special permissions: the setuid, setgid and sticky bits

Nov 20, 2017, 09:00 (0 Talkback[s])
(Other stories by Egidio Docile)

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.

Complete Story