In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Linux files only read how to restore, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Linux file read-only recovery method: 1, use "chmod 666 specify file" command to set read-only file to read-writable file; 2, use "chmod 222specify file" command to set read-only file to writeable but not readable file.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
How to restore linux file read-only
First, let's turn on the operating system.
Locate the terminal window in the menu bar and click to enter.
We create a new file as a demonstration and set it as a read-only file.
If you open a read-only file, read-only is displayed.
Chmod 666test.txt, at this time to execute the command, the test file means test.txt,666 means to change to a readable and writable file.
There is no prompt to open the file at this time. It belongs to normal mode.
Chmod 222test.txt, which is a writable but unreadable file.
When you open the file at this time, you will be reminded not to open it because it is not readable.
What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
After reading the above, have you mastered the method of how to restore linux files read-only? 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.