In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you what the executive authority in linux is, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Execution authority in linux: 1, for a file, the execution permission means that the file has the permission to be executed by the system; 2, for the directory, the execution permission means that the user can enter the directory, and the read-only access to the directory does not allow the use of cd to enter the directory, you must have the permission to execute.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
What is the execution permission in linux
The permissions of Linux are not very detailed. There are only three kinds of RWX.
R (Read, read): for files, you have permission to read the contents of files; for directories, you have permission to browse directories.
W (Write, write): for files, it has the permission to add, modify and delete the contents of files; for directories, it has the permission to create, delete, modify and move files in the directory.
X (eXecute, execute): for files, you have permission to execute files; for directories, the user has permission to enter directories.
1. Read-only access to the directory is not allowed to enter the directory using cd. You must have the permission to execute before you can enter the directory.
2. Only the execution permission can only enter the directory and cannot see the contents of the directory. If you want to see the file name and directory name under the directory, you need readable permission.
3. Whether a file can be deleted mainly depends on whether the directory in which the file is located has write permission to the user. If the directory does not have write permission to the user, then all files in the directory cannot be deleted, except the file owner.
4. If the w bit of the directory is not set, even if you have the w permission of a file in the directory, you cannot write the file.
The above is all the content of this article "what is the executive authority in linux?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.