English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Since the items downloaded under root privileges have a lock symbol under normal users, although everything can be operated and used under root, as long as you switch to the root account for operation, it's still awkward to look at. How to remove it?
1.Some netizens said that using
sudo chmod -R 777
Not to mention that there may be risks, isn't this trivial? Changing the file recursively to read, write, and execute permissions, of course, there will be no locks.
But this will change the original file permissions.
2.You can copy it to a computer with Windows...呵呵,of course, the permissions under Linux will naturally disappear.
3.Use the command to change the group user of the file
sudo chown your_username filename
For example:
sudo chown jack common
It has been proved that this is possible, but this only changes the group of the common folder, and the files or folders inside it are still locked. Therefore,
sudo chown jack common/ -R
If the directory inside the file cannot be recognized, execute
sudo chmod 777 common
Change the file access permission mode to drwxrwxrwx
Command Difference:
chown root .android<span style="font-family: Songti; background-color: rgb(255, 255, 255);>Change file ownership to root</span>
The above-mentioned methods to remove the locked icon of Ubuntu folders introduced by the editor are for everyone's reference. If you have any questions, please leave a message, and the editor will reply to you in time. At the same time, I would also like to express my sincere gratitude to everyone for supporting the Yelling Tutorial website!
Declaration: The content of this article is from the Internet, and the copyright belongs to the original author. The content is contributed and uploaded by Internet users spontaneously, and this website does not own the copyright, has not been edited by humans, and does not assume any relevant legal responsibility. If you find any content suspected of copyright infringement, please send an email to: notice#oldtoolbag.com (Please replace # with @ when sending an email for reporting, and provide relevant evidence. Once verified, this site will immediately delete the infringing content.)