www-data permissions on /var/www
gheskett at wdtv.com
Sun Nov 25 14:40:09 UTC 2012
On Sunday 25 November 2012 09:34:09 Ric Moore did opine:
> 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
That is something I had to learn when I transplanted my web page stuff from
a PCLOS install to a ubuntu install. But in the long run it makes it
easier because its consistent.
Be aware that the chown -R doesn't work, or didn't for me, when it reaches
thru a softlink, I had to do it again from the softlinks target.
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
What awful irony is this?
We are as gods, but know it not.
More information about the ubuntu-users