Author Topic: The old trash won't empty subject.  (Read 1993 times)

Offline Bill

  • TS Addict
  • *****
  • Posts: 4615
    • View Profile
The old trash won't empty subject.
« on: October 14, 2003, 10:19:09 PM »


Was in my spare partition from Jag 10.2.8.
Saw that I had an old OS 9 system folder in that partition.
Dumped it in my Jag trash. Emptied trash command.
All went poof except one empty (zero k) folder.
Renamed it ....zilch.
Went to drag it out of the trash so I could reboot into OS 9 and dump it from there.
I can NOT pull it out of the trash in Jag.
Permissions didn't work.
Neither did DW #3.
Rebuilt the Jag desktop <<didn't think it would do anything. Didn't>>
Tried going into the terminal with MMs' suggestion he posted on how some time back.
Nada.Then again, think I did sudo etc wrong.
Then I got froggy and went for changing the permissions/ownership in the actual 'empty' folder in the trash. zilch. Then I really got a wild hair and tried manually changing the actual trash permissions/ownership. Still zilch.
Changed the trash back to what it was asap .... ~~super chicken~~ <gr>
Tried stuffing the folder [from inside the trash] with deluxe -- by changing deluxe permissions too be-gone-original. Deluxe couldn't get into the trash.

Probably tried a few other lets-see-if-this-works BUT can't recall after watching that 'CUBS FAN' interfere with the flyball!!
((THAT YOYO BETTER RUN FOR COVER!!))

The folder is empty. No real big deal.
Cept my trash collection truck service comes tomorrow (I think) and I'd like to dump all my trash. smile.gif
Two cans and a string powered by a big mouth

Offline Bill

  • TS Addict
  • *****
  • Posts: 4615
    • View Profile
The old trash won't empty subject.
« Reply #1 on: October 14, 2003, 10:46:53 PM »
Hey!
Just after posting this, I opened the partition 'where' the folder came from and was able to drag it over to that partition!
My Jag trash is now empty! smile.gif

Then I rebooted into an active OS 9 partition and then dragged that empty folder into the trash.
((Went bye bye))! biggrin.gif

When in doubt .... use plain old common sense. smile.gif
Two cans and a string powered by a big mouth

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
The old trash won't empty subject.
« Reply #2 on: October 15, 2003, 12:00:03 AM »
That's 'cause it wasn't really in your Jag's trash...

It was in an invisible folder called .Trashes on the other partition, probably in a folder named 501...after you, 'cause you're agent 501, Bill.

Terminal thingy would go like this:

cd /Volumes/partition_name ---navigate to that partition

then

rm -R .Trashes

or

sudo rm -R .Trashes ---if it wont let ya.

or you can go dig'n...

cd .Trashes ---change directory to go to .Trashes

then

ls -al --- to get a listing of everything in .Trashes

then

cd 501 ---nav to user 501's trashes... 'cause there will be a 501 directory

Now you can list what you trashed using ls and selectively delete or you could just delete the whole 501 directory once you go back up a level...many options at this stage.

This is FYI, only.

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
The old trash won't empty subject.
« Reply #3 on: October 15, 2003, 08:35:37 AM »
I like this little program. It will shread, dice, anthing you want to do with trash in OSX.
I just d/led the 10.2.8 version.


Trash-X
Gary S

Offline Bill

  • TS Addict
  • *****
  • Posts: 4615
    • View Profile
The old trash won't empty subject.
« Reply #4 on: October 15, 2003, 06:11:27 PM »
I copied your post Sir Karl in case this comes up again. <gr>

If it wasn't really there (in the jag trash), then what was I seeing with my peepers?

Thought about that app Gary s. Didn't know where to look or what the name was even.
All is well now but bookmarked your link just in case.
Two cans and a string powered by a big mouth

Offline kps

  • TS Addict
  • *****
  • Posts: 1693
    • View Profile
    • http://
The old trash won't empty subject.
« Reply #5 on: October 15, 2003, 06:59:24 PM »
Yeah, confusing isn't it?

The finder shows it in the trash, but it's the system that flags the folder as no longer wanted and it's the system that removes it from the volume's directory listing when the operation is successful. The only way it's successful, is when everything matches...permissions, user, etc. Then the system says "ok, this space is now free and we may overwright it"

So, when you trashed the folder, the finder showed it the standard Mac way, but the system just flagged the folder in the partition volume and moved it to the .Trashes/501 directory on that partition. For whatever reason it wouldn't let you trash it, so the folder remained there and the finder kept showing it until you moved it back.

This is the way it works with all partitions, external drives and removable media, which in a sence is good for security, but bad when this kind of rigmarole happens.

I forgot to mention in my previous post that, in all probability, you'll have to "su to root" in order to use the CLI to delete a folder like that. Don't bother to log in as root in the gui, because the trashed file/folder will not appear. Root didn't trash it, user 501(you) did, so it will not show up in root's trash.

Got it? Good. biggrin.gif wink.gif

Offline Bill

  • TS Addict
  • *****
  • Posts: 4615
    • View Profile
The old trash won't empty subject.
« Reply #6 on: October 15, 2003, 09:40:06 PM »
"Got it? Good."

Sure did. Yep. Bet on it. <<<the copy trick ... read that again and again and again>>> biggrin.gif
Two cans and a string powered by a big mouth