Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just setup my new server, and there are problems with right management :

My /var/www is owned by root and the group "www-data".

But I would like my user could put his data in his /home/user. And when I do it (and change th VirtualHost), apache said "Permission denied"…

So how to setup correct rights ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You need mod_userdir to enable per-user webdirectories.

There is a good documentation on how to set it up here

share|improve this answer
Thank you very much ! I will test it (and remove my ugly hack). – Dorian Aug 3 '10 at 11:55

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.