Linux Modify directory and file permissions simple command to explain _linux shell

Source: Internet
Author: User
Tags chmod file permissions

Problems encountered today, how a user such as WWW permissions replicated to my users?

Permissions for the directory representation: dwrxr--r--

Where the first character d represents the directory,-representing the character w is writable, and R represents a readable x representing an executable number for 4,2,1
The first group is file or directory owner permissions, the second group represents the user group for the current user, and the third group is the permissions of the other user groups
So the permissions on the control file are accurate to the group

Use chmod permissions Directory

Copy Code code as follows:

chmod 777 Test
chmod u+w Test

Related Article

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.