www-data permissions on /var/www

katrina warsaw katrina.warsaw at gmail.com
Sun Nov 25 07:21:27 UTC 2012


Hello!:

You must think that human users have their userids upper of 1000.
www-data user is really the user who admins the website, is the user and
group of your webserver , and  your web's user or your web's visitors are
from group "others".
I wish this helps you!


2012/11/12 thufir <hawat.thufir at gmail.com>

> My /var/www directory permissions are:
>
> drwxr-xr-x  2 root root     4096 Nov 11 15:34 www/
>
>
> While running the install script for FUDForum, I get this message:
>
> Directory "/var/www/" exists, but the installation script is unable to
> write to the directory. Please grant read/write permissions to the web-
> server user (www-data/www-data)
>
>
> The web-server user is www-data?  I tried changing permissions for the /
> var/www folder to add group permissions with chmod g+w /var/www but was
> insuficient.
>
> thufir at dur:~$ cat /etc/passwd | grep www
> www-data:x:33:33:www-data:/var/www:/bin/sh
> thufir at dur:~$
>
> thufir at dur:~$ cat /etc/group | grep www
> www-data:x:33:
> thufir at dur:~$
>
>
>
> maybe www-data is in the wrong group?  Or, just go ahead and give
> everyone rw permissions to /var/www ?
>
> I'm not well versed in apache.
>
>
>
> thanks,
>
> Thufir
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121125/4e0731ab/attachment.html>


More information about the ubuntu-users mailing list