Giving user permission to write to /var/www

Dotan Cohen dotancohen at
Sun Feb 19 11:53:13 UTC 2006

On 2/18/06, Claudia Ringwald <claudia_ringwald at> wrote:
> Am Samstag, 18. Februar 2006 13:17 schrieb Dotan Cohen:
> > What is the proper way to let a user have write permission to
> > /var/www? I have googled several methods, and want to know what is the
> > correct, safe way to do it?
> >
> > Thanks.
> Hi Dotan,
> why do you want to do this?
> If you want to give the user the possiblity to develop websites locally (and
> for instance use php within them properly), the easiest way I know is to
> creat a directory named public_html in the home-directory of the user.
> This folder can be reached with a browser at http://localhost/~[name of the
> user]
> Best regards,
> Claudia

Thanks, Claudia. I have only one user on the system so I think that
I'll just make the document root /home/user/public_html . Are there
any known gotchas with that approach? Is it insecure? I will be
accessing this folder remotely, not just from localhost.

More information about the kubuntu-users mailing list