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

WD Passport for Mac no se muestra en Finder y Utilidad de Disco

WD My Passport No se muestra en Mac, Prueba estas soluciones

Tutorial para solucionar el problema de que WD My Passport no se muestra en Mac, el luz parpadeante pero no funciona, así como la no detección de WD My Passport en Mac.

recuperacion de datos mac

How to Fix Cannot Open PDF Files After macOS Ventura Update

[Fixed]Cannot Open PDF Files After macOS Ventura Update

Incompatible file extensions, glitchy updates, etc. can be the reason that makes you can't open the PDF files after updating macOS Ventura. This post offers three methods for you to fix this issue.

News Tips

dois-je mettre à niveau vers macos sonoma

Dois-je mettre à niveau vers macOS Sonoma ou attendre ?

Avec la sortie finale de macOS Sonoma, certains utilisateurs de Mac hésitent à effectuer la mise à niveau ou à attendre en raison de la compatibilité, des éventuels bugs, et plus encore. Cet article répond à la question de savoir si vous devriez effectuer la mise à niveau vers macOS Sonoma.