Dealing with the Trash
By Brian Leonard on Jul 07, 2008
Today I decided to empty my trash and ran into the following error:
bleonard@opensolaris:~/.Trash/OOo_2 (copy).4.1_Solarisx86_install_wJRE_en-US$ ls -l total 25 drwxr-xr-x 2 bleonard staff 4 2008-05-29 15:40 licenses drwxr-xr-x 3 root root 5 2008-06-25 09:28 none drwxr-xr-x 31 bleonard staff 31 2008-05-29 15:40 packages -rwxr-xr-x 1 bleonard staff 13829 2008-05-29 15:40 setup -rwxr-xr-x 1 bleonard staff 3925 2008-05-29 15:40 update bleonard@opensolaris:~/.Trash/OOo_2 (copy).4.1_Solarisx86_install_wJRE_en-US$ ⁞
I'm not exactly sure how this came to be, but the problem is easy enough to fix if you find yourself in the same predicament. Simply open a terminal, which will place you in your home directory, and enter:
pfexec rm -r .Trash
There's no need to recreate the .Trash directory. It will be recreated the next time you move something to the Trash.