

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.
HOW TO DELETE A WORD DOCUMENT IN MAC HOW TO
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).
