Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Beej

macrumors 68020
Original poster
Jan 6, 2002
2,139
0
Help!

I can't empty the Trash in OS X 10.1.2

I've been trashing SO X backups from a second HD. When I try to empty it, I'm told:

"The operation cannot be completed because you do not have sufficient privileges for some of the items."

I've gone to each folder in the Trash and copied R+W permissions to everything, but it still won't work.

I've logged in as root and tried to ls my .Trash folder, but it says there's nothing in there...

Any ideas?

And before PC lovers decide to use this as another reason to bag the Mac OS, I admit this is a problem, and I don't need you to tell me. I'm trying to fix this problem, if I wanted to start a Mac OS bag-session, I'd do it elsewhere - just as you should.

Sorry about that... :)
 

Ensign Paris

macrumors 68000
Nov 4, 2001
1,781
0
Europe
Try:

a) Boot from a OS9 CD and Empty Trash
b) Search for a program on version tracker called oblitorator or something like that!
 

GeeYouEye

macrumors 68000
Dec 9, 2001
1,669
10
State of Denial
FileTyper

Boot into OS 9, use FileTyper to make the .Trash visible, then throw that away, create a new one, and have FileTyper make it invisible. Reboot into OS X
 

Beej

macrumors 68020
Original poster
Jan 6, 2002
2,139
0
I just did it. The FileTyper method worked like a charm. Thanks again! :D
 

Taft

macrumors 65816
Jan 31, 2002
1,319
0
Chicago
Command line option.

If you like using the command line, just 'ls' to the .Trashes directory. There are usually sub-folders in .Trashes which correspond to different users. If there is only one user its generally 501. Then just 'sudo rm' the files you want to delete. Like this:

>cd /.Trashes
>ls -aF
501/
502/

>cd 501
>ls -alF
drwx------ root wheel 0 Jan 26 00:21 untrashable/

>sudo rm -rf untrashable

Careful with the 'rm -rf', it can be potentially dangerous!!

Hope this helps!!!
 

Beej

macrumors 68020
Original poster
Jan 6, 2002
2,139
0
Re: Command line option.

Originally posted by mrtrumbe
If you like using the command line, just 'ls' to the .Trashes directory.
I think you might mean cd, not ls... :D

Thanks for the tip. I tried using the command line (like I said above) but I was looking in the .Trash folder in my home dir, not the .Trashes dir elsewhere as I should have been. Oh well, I know for next time.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.