Home > Questions

Can't delete locked files off WD external hard drive on Mac

I have a 500GB Western Digital external hard drive that I use to backup my 15" MBP. This disk is almost full, so I decided to delete some backups. When I was trying to empty them from Trash, I got an error saying "The operation can’t be completed because some items had to be skipped. For each item, choose File > Get Info, make sure "Locked" is deselected, and then check the Sharing & Permissions section. When you are sure the items are unlocked and not designated as Read Only or No Access, try again." How can I free up space on my external drive?

Best Answered by

iBoysoft author Jenny Zeng

Jenny Zeng

Answered on Monday, April 29, 2024

You should do as the error message says first. Right-click on the file that can't be deleted, select "Get Info," then make sure "Locked" is deselected and your account has "Read & Write" privileges under the "Sharing & Permissions" section. (Note that you need to tap the yellow lock and enter your admin password to change the settings.)

Do the same with your WD external hard drive as well but change two more settings. If your external hard drive has the option "Ignore ownership on this volume," select it. Besides, you should also click the action pop-up at the bottom left of the "Get Info" window and select "Apply to enclosed items."

After modifying these settings, you can try to empty your Trash again. If you still can't delete files from the external hard drive on Mac, it's recommended to delete them in Safe Mode or execute Terminal commands to delete them.

To force delete locked files on Mac, you can run the following command in Terminal. (Type your admin password and hit Enter when being prompted.)

 sudo rm -rf ~/.Trash/*

If nothing works, you can erase your external hard drive to fix the issue. This will delete all data on the WD external hard drive. So don't forget to back up the important data beforehand.

 

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

signaux rouges dans les dossiers du Finder

[Pour les débutants] Qu'est-ce que le signal rouge dans les dossiers Finder?

Vous avez déjà remarqué un symbole rouge de moins ou un point d'exclamation qui suit les dossiers dans Finder? Pas de soucis. Cet article vous guide pour savoir ce qu'ils représentent et comment les exclure de vos fichiers et dossiers.

外部ディスクにコピーできない

Macから外部ハードドライブにコピーできない、解決策と理由

Macから外部ハードドライブにコピーできない問題の理由と解決策、WDやSeagateの外部ハードドライブを含む

Tor Browser for Mac

A Complete Guide on the Tor Browser for Mac & How to Use

What is Tor Browser? How to use the Tor web browser for Mac? This article answers these questions in detail.

Wiki Tips