Linux User and Permissions Basics 2 Linux Permissions

Source: Internet
Author: User
Tags file permissions

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.