cant empty trash |
October, 15, 2003 10:06 AM |
tbuckley |
For some reason I cant empty the trash. It seems to happen on bigger files over 25mb ?? but now always. If I do one at a time it seems to work better. |
. |
RE: cant empty trash |
October, 16, 2003 12:34 AM |
smwalker |
. |
I had the same problem of not being able to empty trash on my 9600 w/ G4 800mhz Sonnet and 1.38 gb of ram on 10.2.6. I didn't know enough unix to do the commands in unix, eg /Volumes/home/Trash/ so I booted into my 9.22 partition and looked at the articles in the trash on the 10.2.6 partition and sure enough they were locked. I hear you're not supposed to be able to put locked files in the trash, but oh well. I simply did "Get Info" in nine and then unlocked the files and trashed them in nine. When I booted back into my OS X partition, voila, the trash was empty. Not elegant, but I'm just an average computer user. |
. |
RE: cant empty trash |
October, 15, 2003 9:18 PM |
fixitjc |
. |
jseibyl is correct but it could be as simple as you have not repaired your permissions lately. That can cause problems with Empting trash, also you can unlock and change permissions in the "Get Info" window get there by highlighting the file in question and doing a Command "I" key stroke command and in that window you can sometimes change the lock and permissions. If you aren't into UNIX command lines you could also drag the file in question on to the desktop and reboot into 9.x and throw the file into the trash under 9.x empty trash and reboot into X kind of a convoluted path but it works. Jim |
. |
RE: cant empty trash |
October, 15, 2003 10:25 AM |
jseibyl |
. |
Simply delete all the files in your .Trash folder, as well as all the files in each .Trashes/UID folder on every volume: rm -Rf ~/.Trash/* rm -Rf /Volumes/*/.Trashes/`id -u`/* (note: the above command uses backquotes `, not apostrophes ') But we run into two problems! 1) permissions that prevent deletion 2) locked files The second problem is related to the HFS filesystem, and Finder flags. There is a command that you can use to unlock all the locked files: sudo chflags -R nouchg ~/.Trash/* sudo chflags -R nouchg /Volumes/*/.Trashes/`id -u`/* The first problem is related to the unix permissions on a file. Either it does not belong to you, or it does not allow you write to it, etc. There is a simple solution to this problem; give the erase command as the superuser: sudo rm -Rf ~/.Trash/* sudo rm -Rf /Volumes/*/.Trashes/`id -u`/* |
|
|