Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Fix unusable Trash on other volumes Desktop
I ran into a problem after I enabled permissions on an external FireWire drive: my non-administrative user could not move anything on that drive to the Trash. When trying to "Move to Trash" any file or folder, the user was presented with the warning that "The item '[filename]' will be deleted immediately. Are you sure you want to continue?" The user could still use the Trash for items on the boot drive or in their home directory.

Despite numerous attempts at fixing the ownership and permissions of the files, the .Trashes folder, and the drive itself, I came upon this solution: delete the .Trashes folders, then relaunch the Finder. This recent hint discusses how to solve similar issues in one's home directory.

If you start in the Terminal as a non-administrative user, first switch to an admin user with:
su admin_username
Then move to the root of the affected drive and remove the .Trashes folder:
$ cd /Volumes/<volume name>
$ rm -rf .Trashes
Finally, relaunch the Finder by holding down the Control and Option keys while clicking on the Finder's icon in the Dock. The .Trashes folder will be recreated, and all users should now be able to use the Trash as expected.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,371 views]  

Fix unusable Trash on other volumes | 2 comments | Create New Account
Click here to return to the 'Fix unusable Trash on other volumes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix unusable Trash on other volumes
Authored by: quecojones on Apr 05, '06 01:05:14PM

I have a somewhat related problem that I haven't been able to resolve and I am wondering if this might help me in some way. Basically, there is a file (or package) in the Trash (on an external FW drive) that won't let me empty the Trash. I've tried messing around with the permissions and such but, I still can't get rid of that file. The annoying thing is that the Finder says that it's size is 0KB. Using the [code]rm -Rf[/code] on the file gives me an error message saying that the directory isn't empty.

Do you have any idea/suggestion on whether this might work for me?



[ Reply to This | # ]
Fix unusable Trash on other volumes
Authored by: Anonymous on May 07, '06 06:49:16PM

Go into your external volume using Terminal. Then type:

cd .Trashes

When you're in there you can type ls and you should be able to see a directory with a name like 501. cd into that directory and most likely that is where you'll find your lost file. If you still can't see it type ls -al

This will list everything including hidden files.



[ Reply to This | # ]