PDA

View Full Version : Un-emptyable Trash part 5204


JayBee
02-05-2002, 05:55 PM
Oh yes, it's that old chestnut, but with a new twist:

Try to empty Trash, get told I don't have enough privileges... yeesh.

Fire up the terminal, check in .Trash... and all the files are in my name. rm -r * them, and my trash can icon still looks full.

"Must have not updated the icon" I mutter at the screen, and open up trash as if to say "See? nothing there!"

But there's a folder called "Temporary Items" in there. Which is empty.

Hmm. Terminal back to .Trash, ls -al... and nothing's there.

Log out, log in as another user, and there's nothing in the trash. Check the root home directory in the terminal, no .Trash folder... LOG IN as root, nothing in that trash can.

Help? The real bummer is that now the undeletable file (a file Finder insists is called "0" in the Temp. Items folder) is the oldest thing in there, so Finder tries to vape it first, fails, and doesn't delete anything else... my Trash is filling up alarmingly as I can't clear it.

If this is an old one, sorry, but I haven't seen anything like this so far.

Novajo
02-05-2002, 06:13 PM
At the root level of a volume, there is a .Trashes/ directory. If you have other partitions, in particular a Classic partition, you could have stuff in there from an installer. Here are the various Trashes:

$HOME/.Trash/
/.Trashes/
/Volumes/name/.Trashes/
/private/root/.Trash/

I suspect you are missing the /Volumes/name/.Trashes/

JayBee
02-05-2002, 07:04 PM
Sorry, what was that? Was that "You tha MAN?"

;)

cheers - I knew there had to be other trash folders kicking about somewhere, but those drives can be big, scary places...

kafin8ed
03-16-2002, 12:57 PM
...i get the reference to file "0" and everything, but here is my problem. i know NOTHING about unix or the the terminal or sudo... i'm pretty sure that what has been explained in this post will solve my problem, but unless i get a step by step, type this, type that, etc... i know i'm gonna be lost. can someone help me out here?? or at least tell me how to throw out the file using OS9. i tried looking for .trash file in OS9 & found it but i couldn't open it or didn't know how to do that. i know macs pretty damn well but this X stuff is still a puzzle, everyone on this site sounds like unix whizkid, it's all greek to me, help....
-kaf
:confused: