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

dossier etc sur Mac

Qu'est-ce que le dossier Etc sur Mac et comment y accéder ?

Cette publication présente en détail le dossier etc, y compris ce qu'est le dossier etc sur un Mac, comment y accéder et s'il est possible de supprimer des fichiers dans celui-ci.

Ihr Konto ist auf dem Mac gesperrt

Locked out of MacBook Air/Pro? Fix 'Your account is locked'

Are you locked out of MacBook Air or Pro with the message 'Your account is locked?' This article provides two solutions to help you unlock your locked Mac.

How to fix slow internet connection on Mac

Slow Internet Connection on Your Mac/MacBook

It introduces nine ways to fix the slow internet connection on your Mac/MacBook.

How to Tips