Description of Read, write and execute permissions for Linux plain files

Source: Internet
Author: User
Tags parent directory
Linux 普通文件的读、写、执行权限说明

1. Readable r: Indicates a permission to read and read the contents of a file
2. Writable W: Indicates the right to have new, modified file contents
1) If there is no r mate, then the vi edit file will prompt you cannot edit (but can force edit), Echo can redirect or append
2) Special Note: The permission to delete a file (modify file name, etc.) is controlled by the permissions of the parent directory, regardless of the permissions of the file itself
3. Executable x: Indicates permission to execute file
1) The file itself should be able to execute
2) The normal user also needs to have R permission to execute
3) root can be executed with the permission of X

Description of Read, write and execute permissions for Linux plain files

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.