1 permissions
1 permissions are the mechanism used by the operating system to restrict access to resources, and permissions are generally divided into three types, read, write, and execute. Each file in the operating system has specific permissions, the user to which it belongs, and the group to which it is used to restrict which users, and which groups can operate on a particular file
2 Each process is logged on as a user, so the permissions of the process are the same as that of the user, the user has a large permission, and the process has a large
3 File permissions
The impact of permissions on files on the directory
R read the contents of a readable file to list the contents of a directory
W Write can modify the contents of a file to create a delete directory in the directory
X execution can be executed as a command to access directory content
4 UGO Mechanism
1 Linux is based on the UGO model to control
2 U on behalf of user, G on behalf of Group,o
3 permissions for each file are set based on Ugo
4 permission Three is a group (RWX), corresponding Ugo respectively set
5 Each file has a belong to the user and belong to the group, corresponding to UG, the user or group does not belong to the file use O permission
6 through the command ls-l can list the details of the files under the current directory
7 for the Ugo of the detailed