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

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.