Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Superstuck Trashbin

Superstuck Trashbin
Thread Tools
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status: Offline
Reply With Quote
May 19, 2008, 02:48 PM
 
Hi, i have a superstuck trashbin that no way will empty short of cloning the system to another fresh install on another mac. I have tried empty, secure emtpy, icemachine, diskwarrior, disk utility, all of it. These files look like remnants of a windows VM of yesteryear...part of the windows itunes library that no longer exists:




Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
     
Posting Junkie
Join Date: Mar 2004
Location: MacNN database error. Please refresh your browser.
Status: Offline
Reply With Quote
May 19, 2008, 02:58 PM
 
Did you restart the computer then try to empty?

This is a computer-generated message and needs no signature.
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Online
Reply With Quote
May 19, 2008, 03:04 PM
 
Terminal, type
"sudo rm -Ri " and then drag the "Snow Patrol" folder from the Trash into the terminal window.
It should look something like "sudo rm -Rf /Users/username/path to something/Snow Patrol... "

Hit enter, enter admin password.

The -i flag will ask permission (confirmation) before removing anything.

Disclaimer: BE VERY CAREFUL: "sudo rm -Rf /" would delete your whole HD w/o asking to confirm.
If you are not familiar with the Terminal, better not use this.

-t
     
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status: Offline
Reply With Quote
May 19, 2008, 03:19 PM
 
Turtle, i get this error:
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
I am in 10.5.2...

Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Online
Reply With Quote
May 19, 2008, 03:25 PM
 
Originally Posted by forumhound View Post
Turtle, i get this error:
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
I am in 10.5.2...
If you remove individual files, leave the -Ri flag out. It's to process folders recursively, and ask for confirmation along the way.
(Safer option, you can substitue the -Ri with -Rf, and it will never ask for confirmation. If you fsck up, though, you won't know until it's over).

So for ind. files, it should be "sudo rm /path/filename"

-t
     
Grizzled Veteran
Join Date: Mar 2004
Status: Offline
Reply With Quote
May 19, 2008, 04:05 PM
 
Originally Posted by forumhound View Post
i get this error:
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
Looks like you made a typo somewhere, and entered rm -/ (or some such thing).
Had you also posted the *preceding* line (the one you entered that caused the error),
then we would have known a lot more.


Originally Posted by turtle777 View Post
If you remove individual files, leave the -Ri flag out. It's to process folders recursively, and ask for confirmation along the way. (Safer option, you can substitute the -Ri with -Rf, and it will never ask for confirmation. If you fsck up, though, you won't know until it's over). So for ind. files, it should be "sudo rm /path/filename"
Can't tell for sure if I'm reading that right.
So i'll just say that: -f (force) is not "safer" than -i (interactive)...
and -R doesn't care if the arg is a folder or a file. [rm will still work, either way.]
-HI-
     
Fresh-Faced Recruit
Join Date: May 2008
Location: Cincinnati, Ohio
Status: Offline
Reply With Quote
May 19, 2008, 05:09 PM
 
Try holding down the Option key while emptying.
DEATH TO THE NEW WORLD ORDER!
     
JKT
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status: Offline
Reply With Quote
May 19, 2008, 06:32 PM
 
If you look at the bottom left corner of the Final Straw folder you will see a padlock, indicating that the folder is locked (as the error message is telling you). Either do as the error message/Fat Guy is telling you or Get info on the folder and deselect the 'Locked' check box (under the General heading in the Get info dialogue), then delete.
     
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Online
Reply With Quote
May 19, 2008, 07:01 PM
 
Originally Posted by Hal Itosis View Post
Can't tell for sure if I'm reading that right.
So i'll just say that: -f (force) is not "safer" than -i (interactive)...
and -R doesn't care if the arg is a folder or a file. [rm will still work, either way.]
Sorry, I wasn't clear in my post.

I meant it this way:

If you remove individual files, leave the -Ri flag out. It [-Ri] is to process folders recursively, and ask for confirmation along the way. That's the safer option.

You can substitue the -Ri with -Rf, and it will never ask for confirmation (= unsafe)
I basically gave him the safe option first, which would prompt him to cinfirm everything that gets deleted. in case he tried to rm -R /, it would ask him about eleventy billion times for confirmation.

-t
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
May 19, 2008, 07:07 PM
 
However, since the problem seems to be just that the files are locked, just holding down the Option key while emptying the trash as FatGuy suggested is much simpler and will work just as well.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status: Offline
Reply With Quote
May 19, 2008, 08:11 PM
 
thanks for the help, but this one is bad bad. the locked folder is read only, says i don't have permission, but I am the admin so go figure.

i have tried booting from OSX to repair permission, etc, etc. This problem is specific to this account however, I have verified that. short of deleting the account and starting over, not sure what else to do!

I think this is a parallels snafu originally, ie. when I have PD open, I can empty the trash, but as soon as PD closes, the trash comes back! very strange...
(Last edited by forumhound; May 19, 2008 at 08:16 PM. (Reason:PD comment))

Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
     
Senior User
Join Date: Aug 2006
Location: Toronto, Ontario
Status: Offline
Reply With Quote
May 19, 2008, 11:06 PM
 
R.I.P Steve Jobs
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
May 20, 2008, 12:43 AM
 
sudo rm -rf ~/.Trash/*
     
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status: Offline
Reply With Quote
May 20, 2008, 01:53 AM
 
Besson, thanks, but no luck. nothing happens. I just noticed that OSX thinks these files reside here:
/Volumes/WINXP/.Trashes/501/Snow\ Patrol\ -\ Final\ Straw\ -\ 256Kbs which is a fat32 bootcamp partition. perhaps this has something to do with it's stickiness.

Mkerr, thanks for that comprehensive list of stuff, I got way down into it to the part for hard-to-clean trashes, and it got into suggesting third-party softwares I never heard of. Our machines have icemachine and diskwarrior, and I prefer not to go beyond that if unless its an emergency, which this is obviously not!

Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Offline
Reply With Quote
May 20, 2008, 06:52 AM
 
Have you tried...

Repairing the disk (boot from the OS X DVD and use Disk Utility to repair the whole disk, NOT JUST the volume) and then trying to empty the trash?

Starting the computer in Safe Mode and emptying the trash?

Starting in Single User Mode and emptying the trash?

(Grasping at straws here...)
Glenn -----
OTR/L, MOT, Tx
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
May 20, 2008, 09:08 AM
 
Originally Posted by forumhound View Post
Besson, thanks, but no luck. nothing happens. I just noticed that OSX thinks these files reside here:
/Volumes/WINXP/.Trashes/501/Snow\ Patrol\ -\ Final\ Straw\ -\ 256Kbs which is a fat32 bootcamp partition. perhaps this has something to do with it's stickiness.

Mkerr, thanks for that comprehensive list of stuff, I got way down into it to the part for hard-to-clean trashes, and it got into suggesting third-party softwares I never heard of. Our machines have icemachine and diskwarrior, and I prefer not to go beyond that if unless its an emergency, which this is obviously not!

Could you be more specific? Does it prompt you for your password? Does it spit out any errors (it should if it finds something it can't delete)? Can you display us the output of:

ls -l ~/.Trash/path/to/undeleteable_file

Is it hardlinked to the above path? How did you discover that path name?
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
May 20, 2008, 10:07 AM
 
Originally Posted by forumhound View Post
Besson, thanks, but no luck. nothing happens. I just noticed that OSX thinks these files reside here:
/Volumes/WINXP/.Trashes/501/Snow\ Patrol\ -\ Final\ Straw\ -\ 256Kbs which is a fat32 bootcamp partition. perhaps this has something to do with it's stickiness.
Try this, then:

(two-part command because I don't like putting rm -r and / or * in the same command)

cd /Volumes/WINXP/.Trashes/501
sudo rm -r 'Snow Patrol - Final Straw - 256Kbs'

See if that gets rid of it.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:42 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2