In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to solve the problem of insufficient permissions in the current directory of linux? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
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
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"
After reading the above, do you have the solution to the problem of insufficient permissions in the current linux directory? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.