Ubuntukylin base chmod to the owner of a file, the user group, and others add or remove permissions for read and write execution separately

Source: Internet
Author: User

Town Yard text:
The Confucian School of the practical and practical, line Buddhism Purdue sentient beings, the monastic Kangsheng fidelity, understanding of the easy to change the image. To science and technology to shine a good law, the achievement of a conscience blog.
______________________________________________________________________________________________________

My system: Ubuntukylin 16.04 LTS 64bit


STEP0:

View permissions for a specified file

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8D/FF/wKioL1iy0X3wyF5PAAA-vJmv0SE700.png "style=" float : none; "title=" 2017-02-25 19-29-14 screen. png "alt=" Wkiol1iy0x3wyf5paaa-vjmv0se700.png "/>


Step1:

Subtract the owner's read and write execution permissions

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/8D/FF/wKioL1iy0X3R6xN_AAAdJ2LGl8k508.png "style=" float : none; "title=" 2017-02-25 19-29-27 screen. png "alt=" Wkiol1iy0x3r6xn_aaadj2lgl8k508.png "/>


Step2:

View execution effects

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/8E/01/wKiom1iy0X3A805lAABEW941uHg499.png "style=" float : none; "title=" 2017-02-25 19-29-40 screen. png "alt=" Wkiom1iy0x3a805laabew941uhg499.png "/>


Step3:

Increase owner Read permissions and view execution effects

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/8D/FF/wKioL1iy0X6CiOKnAABVTKzuH7w328.png "style=" float : none; "title=" 2017-02-25 19-30-15 screen. png "alt=" Wkiol1iy0x6cioknaabvtkzuh7w328.png "/>


STEP4:

Increase owner-written permissions and view performance

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/8D/FF/wKioL1iy0X_j4HfPAABWeNN4xSM715.png "style=" float : none; "title=" 2017-02-25 19-30-49 screen. png "alt=" Wkiol1iy0x_j4hfpaabwenn4xsm715.png "/>


STEP5:

Increase the permissions performed by the owner and see the effect of the execution

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/8E/01/wKiom1iy0YCgJ_OBAABTbucNFGA809.png "style=" float : none; "title=" 2017-02-25 19-31-08 screen. png "alt=" Wkiom1iy0ycgj_obaabtbucnfga809.png "/>


STEP6:

Subtract the permissions that the group performs and view the execution effect

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/8E/01/wKiom1iy0YCx3uQWAABjikRjJ54027.png "style=" float : none; "title=" 2017-02-25 19-38-43 screen. png "alt=" Wkiom1iy0ycx3uqwaabjikrjj54027.png "/>


STEP7:

Subtract permissions written by others and view execution effects

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/8D/FF/wKioL1iy0YHibU1OAABo0XGMlwE188.png "style=" float : none; "title=" 2017-02-25 19-38-52 screen. png "alt=" Wkiol1iy0yhibu1oaabo0xgmlwe188.png "/>


U-User owner, the owner of this file is Chuxuan
Group user groups G, the user group for this file is ADM
O-Others other people, not chuxua and users of the ADM group

Read Reading R
Write Writing W--
Execute execution X

+ is the absence of the addition, there is no change.




______________________________________________________________________________________________________
If you think this blog post has a place to improve, please comment, I will think carefully.
Note: This blog post is only used for scientific research, if the infringement of your interests, please inform me, I will make the appropriate treatment.





This article is from the "calm mind like water, chi just like the pan." Blog, be sure to keep this source http://xinjingzhigang.blog.51cto.com/12262830/1901459

Ubuntukylin base chmod to the owner of a file, the user group, and others add or remove permissions for read and write execution separately

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.