Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 have a big problem with Ubuntu Server 11.04. When I log into the server with ssh or ftp the files in my Home folder is encrypted. This happened yesterday too, but a reboot fixed it.

I just reinstalled the OS on my desktop computer and had a backup on the server, so I need to get hold of the files.

The server has only been running for a few days and is set up using software RAID1 and has the following installed: apache2, mysql-server, munin, pure-ftpd and phpmyadmin.

I have not messed with any settings related to encryption. The only thing I have changed in terms of users is to add my user to the group www-data.

Someone here who knows how this can be fixed?

share|improve this question

Run ecryptfs-mount-private. It should be doing this automatically but until you can work out why it isn't, that should unlock your home, once you have logged in.

As for the actual issue, I've no idea why it's only running intermittently.

share|improve this answer
Sometimes it helps to reboot, but after a while the files are encrypted again. "ERROR: Encrypted private directory is not setup properly"...what? – Alex Aug 7 '11 at 0:58

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.