You now have permission to modify this file – and that includes unlocking the file, and deleting it. If you spot a padlock icon in the bottom-right of this menu, then you’ll need to click it and enter your admin password before you can make any changes.įind your user account in the list, click its corresponding set of arrow icons and select ‘Read & Write’ from the dropdown menu. Here you’ll find a list of all the user accounts associated with your MacBook, along with each account’s permissions regarding this specific file: Read Only, Read & Write, or No Access. To get permission to modify a file, Control-click the file in question and select ‘Get Info.’ In the ‘Get Info’ window, find the ‘Sharing & Permissions’ section and expand it. You see an error message whenever you try to delete the file.The file is locked, and you don’t have permission to unlock it.Permissions can prevent you from deleting a file in two ways: You don’t have permission to access the file Once the file is unlocked, you should be able to go ahead with the delete. Input the following command (being sure to replace location/nameoffile.extension with your own filename and file path) and hit the ‘Enter’ key on your keyboard:Ĭhflags nouchg location/nameoffile.extension To launch Terminal, click the ‘Spotlight’ icon in your MacBook’s menu bar and enter ‘Terminal’ into the search bar that appears. You can also unlock a file using the Terminal that comes pre-installed on every MacBook. If the ‘Locked’ checkbox is greyed out, then this means you don’t have permission to modify the file (we look at how to change a file’s permissions in the next section, so skip ahead if you can’t currently access the ‘Locked’ checkbox).
0 Comments
Leave a Reply. |