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 had a 20GB / partition at work that dual-booted with Windows and it quickly ran out of space. I usually do 20GB / and 160GB (or whatever the rest of the hard drive is) as /home, so I intended on recovering the space Windows was taking up and turning that into /home.

That went fine and I was able to mount the partition and rsync all my files over.

However, I forgot that the partition was encrypted, so now all my files are sitting in /home/.ecrypt and /home/$USER is empty.

How can I recover my files from /home/.ecrypt and move them to /home/$USER?

I followed this tutorial:

share|improve this question
did the answer solve you issue? please accept the answer or dismiss the question – Ringtail Feb 24 '12 at 2:01
sudo ln -s /home/.ecryptfs/$USER/.Private /home/$USER/.Private
sudo ln -s /home/.ecryptfs/$USER/.ecryptfs /home/$USER/.ecryptfs
sudo chown $USER:$USER /home/$USER

Then log out and log back in. Note that these commands probably need to run as root (using sudo), as an unmounted /home/$USER might be readonly.

share|improve this answer

Your Answer


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.