Linux under chmod command

Source: Internet
Author: User

1. Command format

Parameters Describe
U User, which is the owner of the file or directory
G Group, which is the group that owns the file or directory
O Other, except the file or directory owner or group, other users belong to this scope
A All, that is, all users, including owners, groups and other users

Parameters Description
R Read permission, the number code is "4".
W Write permission, the number code is "2".
X Execute or toggle permissions, the number code is "1".
- does not have any permission, the number code is "0"
S When the file is executed, set the file's setuid or setgid permissions according to the user type specified by the WHO parameter.

Parameters Description
-C or--changes The effect is similar to the "-V" parameter, but only the part of the change is displayed.
-F or--quiet or--silent No error message is displayed.
-R or--recursive Recursive processing, all files and subdirectories under the directory are processed together.
-V or--verbose Displays the instruction execution process.

Linux under chmod command

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.