What does Linux chmod +755 and chmod +777 mean?

Source: Internet
Author: User
You can enter ls-al on the Linux terminal, you can see such as:
-rwx-r--r--(altogether 10 parameters)
The first one has nothing to do with chmod, regardless of the parameters.
2-4 parameter: belongs to user
5-7 parameter: belongs to group
8-10 parameter: belongs to others
And then it's simple.:r==> readable w==> writable x==> executable
r=4 w=2 x=1
So 755 stands for rwxr-xr-x.
Do you understand me?

755 on behalf of the user to the file has read, write, execute permissions, the same group other people have the ability to execute and read, no write permission, the other user's permissions and the same group of people permissions ...

777 stands for, User,group, others, both read and write and execute permissions.

What does Linux chmod +755 and chmod +777 mean?

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.