Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I accidently deleted the ~/.Trash/ folder. How I fix this?

I do not want to:

  • Restore files currently in the Trash can
  • Restore files emptied with the Trash can
share|improve this question

1 Answer 1

up vote 4 down vote accepted

Open Terminal.app and type

mkdir ~/.Trash

It will create a new empty folder that Mac OS X can use to store trashed files; this won't save any old deleted files from the original .Trash folder you deleted.

share|improve this answer
2  
Notice that the new folder you create should probably use permissions that are appropriate. After you make the directory with this suggestion, you should probably also type 'chmod go= ~/.Trash' to ensure that only you have permissions to act on that folder (not "group" or "other" classes of users). In addition, you might need to restart the Finder for the Finder to notice that you've created a new .Trash folder (you can restart, logout-login, or use the Force Quit apple menu item to force the Finder to restart). –  Viktor Haag Jun 7 '11 at 15:33
    
The installer CD that came with your computer has an option to reset home folder permissions to thier defaults. That will give it the proper permissions and ACL that it should have. –  ridogi Aug 11 '11 at 20:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.