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 Tuesday, July 11, 2023

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

Mac上のスマートフォルダとは何か

Macでのスマートフォルダとは何か、作成方法と使い方

Macのスマートフォルダに関する概要。Macでのスマートフォルダとは何か、スマートフォルダの作成と使い方、およびMacのフォルダとの比較について。

fix Mac that wont sleep when lid closed

Sloved: MacBook/Mac Won't Go to Sleep When Lid Is Closed

Mac won't go to sleep when lid is closed, MacBook Pro do not sleep when lid closed, MacBook Air won't sleep when lid closed, M1 Mac not sleeping when lid closed

How to Tips

Enter a password to unlock the disk Macintosh HD

Enter a password to unlock the disk 'Macintosh HD' (Removed)

This article tells you why and how to remove 'Enter a password to unlock the disk 'Macintosh HD' and 'Enter a password to unlock the disk 'Macintosh HD - Data'.

News Tips