Solved

Error received then I try to empty my trash bin on my Mac

Posted on 2016-09-19
5
33 Views
Last Modified: 2016-09-19
Hello everyone,

I am cleaning a highly infected Mac. Every time I try to empty the trash bin I receive the following error "the operation can't be completed because an unexpected error occurred ( error code -8003).

Any idea how to fix it please ?
0
Comment
Question by:Italiabella
5 Comments
 
LVL 39

Assisted Solution

by:Eoin OSullivan
Eoin OSullivan earned 125 total points
Comment Utility
Try the following

1. Hold down the option key then select Empty Trash

if that doesn't work

2. Open terminal window .. enter the 2 commands .. then try the Empty Trash
cd ~/.Trash
chflags -R nouchg *

Open in new window


if that doesn't work

2. Open terminal window .. enter the 2 commands .. only do this is both the above options fail
cd ~/.Trash
sudo rm -Rf ~/.Trash/*

Open in new window

0
 
LVL 53

Accepted Solution

by:
strung earned 250 total points
Comment Utility
Restart in safe mode by holding down the shift key while booting. Then try to empty the trash.
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
Comment Utility
What kind of infection is this about and how did you detect it?
0
 
LVL 27

Assisted Solution

by:serialband
serialband earned 125 total points
Comment Utility
Or put it in target mode and mount it on another Mac  to delete the files.  You should scan it from another Mac also, that way you're not running the virus or trojan.
0
 

Author Closing Comment

by:Italiabella
Comment Utility
Great suggestions everyone. Stung i restarted in safe more and it worked like a charm, thank you so much. there were some locked items and i unlocked them.
question: do i need to delete every time in safe mode now :) ?

or probably there were some locked items that were preventing me from deleting the items.  I guess the I will find the answer tomorrow when i will test it.

thank you again everyone
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Apple iMac 4 79
How to remove Photo Booth for OSX 3 103
Is there a 32-bit & 64-bit version of Mac Office 2016? 8 60
Mac OS 10.12 + VPN 17 259
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now