Take the 2-minute tour ×
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
add comment

1 Answer

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
add comment

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.