Remove the Ubuntu Folder Lock flag

Source: Internet
Author: User
Remove the lock icon in the Ubuntu folder because the downloaded items are under the root permission, so there is a lock icon in the normal user, although it can be used in any operation under the root, it's okay to switch to the root account, but it looks awkward. how can I remove it? 1. some netizens said that sudochmo was used... remove the lock icon in the Ubuntu folder because the downloaded items are under the root permission, so there is a lock icon in the normal user, although it can be used in any operation under the root, it's okay to switch to the root account, but it looks awkward. how can I remove it? 1. Some netizens said that using sudo chmod-R 777 may be dangerous. this is not a nonsense. the permission for recursive modification of files is readable, writable, and runable. of course, there is no lock. However, this will change the permissions of the original file. 2. copy it to a computer with windows ...... Well, of course, the permissions in linux will naturally disappear. 3. run the command to change the file Group User sudo chown. the file name of your username, for example, sudo chown jack common, turns out that this is okay, but it only changes the Group in the common folder, the files or folders inside are still locked. So sudo chown jack common/-R is required.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.