Unremovable directory

filesystemfinderterminal

I have a problem with a seemingly unremovable directory/bundle. I moved Spotify.app from /Applications to the Trash and later tried to empty the Trash.

The empty trash progress bar shows up but then nothing happens anymore. No error message, no progress.

Then i tried to remove the directory with the following commands

rm -rfv ~/.Trash/*
sudo rm -rfv /home/<user_name>/.Trash/*

Both never return, can not be aborted with ^c and provide no output at all. I considered some filesystem corruption, rebooted in recovery mode and ran the disc repair. It found an error and fixed it, but the problem did not go away and i still have the same behavior.

Another potentially related problem is wrong meta information in the Finder. Since some weeks ago i repeatedly find files where the Finder shows no filesize, type, creation date, modification date.

Any ideas how to remove the directory or what might be the problem?

Best Answer

I was able to remove the directory in single user mode.

Before that i tried to remove the contents of the directory one by one and found that Spotify contained two Growl libraries one of which could not be removed. The library did not even show up with ls -l in single user mode.