Unaccessible folder in Trash

ssdtrash

Whenever I try emptying my Trash, the progress bar freezes at a specific point.
I narrowed down the problem to a folder containing a mercurial repository:

localhost:~ dennis$ cd .Trash/Mercurial.1/xardias_cfg/.hg/store/
localhost:store dennis$ ls -la

The last command does not do anything. It just blocks and does not return to the shell.
Removing the folder has the same problem. Trying to send CTRL-C to the process does not do help either.

Disk verification in the disk utility does not show any errors.

Does anyone have an idea what might be wrong or any directions how I can find out?

Thanks a lot!
Dennis

PS: It might be worth mentioning that the drive is a 240GB Kingston SSD drive.

Best Answer

Try running this command:

sudo rm -rf ~/.Trash/*

It will prompt you for administrator credentials. This should force the removal of all files in the trash. Good luck!

If this doesn't work, try booting into Single User mode and doing the following:

  1. Run unmount -uw /
  2. Run rm -rfv /Users/~/.Trash/* (but replace ~ with your username). Note: I added the verbose switch so you'll be able to see what it gets stuck on if it still gets stuck.
  3. If it still gets stuck, notate the file that it hangs on and report back.