Summary of Read, write, and execute permissions for Linux files and directories

Source: Internet
Author: User
Tags parent directory readable

Note: The root user is not under the control of file and directory permissions, that is, with arbitrary permissions!

File read, write, execute permission description:

Readable r: Indicates a permission to read the contents of a file

Writable W: Indicates the right to modify the contents of the file (delete files or modify the file name and other permissions are controlled by the parent directory permissions, and the file itself permissions Independent)

Executable x: Represents the right to execute the file (the file itself can be executed, the normal user also needs to have R permissions)

Description of the read, write, and execute permissions for the directory:

Readable r: Represents the permission to browse the contents of the directory, LS (requires X permission to mate, such as no x permission, you can only display the file or directory name, file attributes, etc. displayed as a question mark)

Writable W: Represents the right to create, delete, or move files and directories within a directory (independent of the permissions of the file itself, requiring X-permission mates)

Executable x: Indicates a permission to enter the directory, that is, the CD

Summary of Read, write, and execute permissions for Linux files and directories

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.