Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hhpeter

macrumors newbie
Original poster
May 19, 2008
7
0
I have a little annoying problem with a file in the trash that just doesn't disappear tried to secure empty trash, tried with onyx it just stays there repaired permission tried everything but this file just stays there
 
What kind of file is it? Is it a .ds_store by any chance?

here's a picture...as soon as i drag it out of the trash it disappears and the trash is empty i close the trash window and open it again and the file is there again, the same thing happens if i double click on it and choose "get info" it just disappears and then its back again :confused:
 

Attachments

  • Picture 1.png
    Picture 1.png
    70.2 KB · Views: 89
Odd. Try moving the file into a new folder then empty the trash. If that doesn't work, try using terminal.

sudo rm -rf ~./Trash/*
 
sudo rm -rf ~./Trash/*

be extremely careful though... if you accidentally hit enter too soon the result might be catastrophic.

Try this:

sudo rm -ri ~./Trash/*

that is a bit more secure and will prompt you before it does anything.

Im sorry for being a "smartypants".
 
be extremely careful though... if you accidentally hit enter too soon the result might be catastrophic.

Try this:

sudo rm -ri ~./Trash/*

that is a bit more secure and will prompt you before it does anything.

Im sorry for being a "smartypants".

that didn't work...
here's what i get in terminal when i right click on the file, copy it, and paste it in terminal :
 

Attachments

  • Picture 2.png
    Picture 2.png
    11.8 KB · Views: 76
From what your screenshot looks like, the file is on your Windows partition, which you should be able to delete in Windows after enabling hidden files.
 
From what your screenshot looks like, the file is on your Windows partition, which you should be able to delete in Windows after enabling hidden files.

well i booted into windows enabled hidden files and i think i found the file in ".trashes " but when i want to delete it, move it or rename it windows gives me a warning that "cannot read from file or disk" so i can't delete it, any other ideas?
 
I think it may have appeared when I deleted my Windows partition. The timing fits I think.
 

Attachments

  • Picture 1.png
    Picture 1.png
    102.2 KB · Views: 64
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.