I've got a pretty scary problem.
Yesterday I wanted to empty the trash but somewhere in the process it just hung up.
I rebooted a few times and tried it again and again but with no result.
I then used the terminal to delete the files out of the .Trash folder manually and I could narrow down the problem to one particular file/folder that I can't delete. If I try rm -rfv <file/foldername>
it just hangs up. Even if I try to get more infos about the file/folder with ls -l
it will hang up.
I also tried to repair the volume using disk utility with no success.
Best Answer
Tricky indeed, things to try
cd ~; rm -rf .Trash; mkdir .Trash; chmod 700 .Trash
cd .Trash; ls -i
should give you the inode number;find . -inum INODE -exec rm {} \;
deletes by inode number