Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I unknowingly deleted the .ecrypts directory while reinstalling Ubuntu 12.04. I created a default user by the same name while installing the new version. However, I couldn't login to the user after installation. After some advices, I was finally able to see the Access-Your-Private-Data.desktop and Readme.txt files in the user's home directory, but I couldn't still log into it. Is there any way to recover the deleted encrypted files. Also, would it be wise to delete the .ecryptfs directory of a user I have already deleted and have no need for?

share|improve this question
Don't see how you could without the crypto key for that user. – Justin Andrusk Oct 22 '13 at 1:27

Your Answer


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

Browse other questions tagged or ask your own question.