LINUX users and access permissions

The standard permissions model is very simple; it is based on four access types or rules:

(r) Read permissions
(w) Write permissions
(x) Execute permissions
(-) No permissions ( no access)

In addition, the are three classes of users:

Owner The owner of the file or application
Group The group that owns the file or application
Everyone All users

Because of every application in Linux must to run in the context of a user, there is a need for an additional type of permission-granting mechanism: SetUID/SetGID.

SetUID allows users to run applications with permissions from the program's owner, not the user who is running it.
SetGID works the same way, with permissions applied to the file's group setting.

No comments:

Recent Posts