Trash problems on Lion
Hi,
I add similar problems with my trash: everything looked like if it was immediately emptied as no files could ever be seen in the trash, and I was asked a password each time I deleted a file. Using ONYX to empty the trash I discovered that many files were in there: it looked like if there was a problem of privileges but repairing was useless. I went through many forums and the only solution for me was the one from Mr Retrofire (and only that one, in particular the script doesn't work for me). So finally this is was I did successfully following his instructions:
1. Quit the "Terminal" application and relaunch it, to make sure that you are NOT logged in as another user (root for example). This is important, because the folder we create will get all the permissions from the parent folder (your "home" folder), and only the user who created the new ".Trash" directory (you) will be able to use it without restrictions.
2. In the Terminal type
sudo rm -frv ~/.Trash
to remove the old ".Trash" directory and all folders and files in the old ".Trash" directory.
3. In the Terminal type
mkdir -v ~/.Trash
to create a new ".Trash" directory in your "home" folder!
4. In the Terminal type
osascript -e 'tell application "Finder" to quit'
then
osascript -e 'tell application "Finder" to activate'
to restart the Finder!
5. Done! You can now move files in the trash!
If the Finder restart does not work on your system, then logout/login to activate the new trash can.
thanks to all of you
Louis