Linux ordered the meaning of chmod (8) 755

Source: Internet
Author: User
Tags readable

The meaning of the Linux command chmod 755

chmod is Linux The following number represents the permissions for different users or groups of users under the command to set file permissions.

It is usually three digits:
The first number indicates the permissions of the file owner
The second number indicates the permissions of other users who belong to the same user group as the file owner
The third number represents the permissions of the other user groups .

Permissions are divided into three types: read (r=4), write (w=2), execute (x=1) . The combination also has a readable executable (rx=5=4+1), a readable writable (rw=6=4+2), and a readable writable executable (rwx=7=4+2+1).


Therefore, chmod 755 sets the user's permissions to:

1. File owner readable writable executable--7

2. Other user-readable executable--5 that belong to the same user group as the file owner
3. Other user groups can read executable--5


thanks!!!

This article is from "Dream Dreams" blog, please be sure to keep this source http://dreamy.blog.51cto.com/12471447/1911086

Linux orders the meaning of chmod (8) 755

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.