www-data permissions on /var/www

Ric Moore wayward4now at gmail.com
Sun Nov 25 08:37:07 UTC 2012


On 11/25/2012 02:21 AM, katrina warsaw wrote:
> 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!

Correct, user AND group must be set to www-data.
sudo chmod -R www-data:www-data /var/www
You'll be good to go if everything, directories AND data files, are set 
in that fashion. Ric



-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html




More information about the ubuntu-users mailing list