In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
In this issue, the editor will bring you about to solve the problem of insufficient authority when linux opens the directory. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
Solution:
Sudo-s # enters root user mode and remains in the original directory (do not use su-root, otherwise you will enter the root directory) cd / var/lib # enter the specified directory ll # to view all the file permissions in this directory chmod 777 files-name # change the permissions of the specified files
Knowledge points to add:
R indicates that the file can be read (read)
W indicates that the file can be written (write)
X indicates that the file can be executed (if it is a program)
Among them: rwx can also be replaced by numbers
R-4
W-2
X-1
-0
-rw--- (600) only the owner has read and write permission
-rw-r-r- (644) only the owner has read and write access, and groups and others only have read permission
-rwx-- (700) only the owner has the permission to read, write and execute
-rwxr-xr-x (755) only the owner has read, write, and execute permissions, and groups and others only have read and execute permissions
-rwx-x-x (711) only the owner has the permission to read, write, and execute, and groups and others only have the permission to execute
-rw-rw-rw- (666) everyone has read and write access
-rwxrwxrwx (777) everyone has access to read, write and execute
How does "755" form: "0" indicates no permission, "1" indicates executable permission, "2" indicates writeable permission, and "4" indicates readable permission. "7 million 1 2 4 5 # 1 4"
The above is the method shared by the editor to solve the problem of insufficient permissions when linux opens the directory. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are 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.