0

Recently I found that when I delete a file, it asks for my password and then it will delete the file permanently without going into the Trash first.

Any way to change that, so that I could retrieve the files in case if I delete something by mistake?

3
  • Which operating system?
    – iglvzx
    Mar 29, 2012 at 15:23
  • iOS Lion 10.7.3 Mar 29, 2012 at 15:53
  • It happens to any files. I could not find any deleted files in the trash bin. Mar 29, 2012 at 16:01

1 Answer 1

3

Try deleting and recreating your Trash. Open up a Terminal and enter:

rm -rf ~/.Trash

If that doesn't work, try the same with sudo – make sure you copy and paste this command exactly as it is, otherwise you're deleting every single file you own. You have been warned:

sudo rm -rf ~/.Trash

Finally, recreate the Trash folder:

mkdir ~/.Trash

Now we only have to restart Finder. Enter:

killall Finder

If that doesn't work, post the output of ls -laO ~/.Trash in your question.

1
  • Done, it works after the sudo step, thanks alot man! Great help! Mar 29, 2012 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .