[CentOS] Groups

Mon Jan 31 17:05:10 UTC 2011
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>

m.roth at 5-cent.us wrote:
> Nicolas Thierry-Mieg wrote:
>> Todd wrote:
>>> With /var/www/html owned by root:root and me loggin in as 'jason' I
>>> cannot accomplish this. I don't allow root logins over ssh...
> <snip>
>>> Would I change /var/www/html/<my domain>  owner to myid:mygroup? I am not
>>> sure the famifications of this and how Apache would behave, etc.
>> The whole of /var/www can belong to myid:mygroup as long as the apache
> <snip>
> Not a great idea. Rather, I'd recommend that it be the apache user (apache
> or httpd, whichever you have it as, and have the directory of a group that
> you belong to (remember, you can have multiple secondary groups, like,
> say, group httpd), and make it group writeable.

so you prefer giving the apache user write access to /var/www ?
Is this really a good thing...?
I agree with the group advice though, if you have several users 
modifying the website content of course.