[CentOS] Apache: User and Group

Wed Jan 30 12:59:02 UTC 2008
Niki Kovacs <contact at kikinovak.net>

Jim Perrin a écrit :
> 
> If apache owns everything in that directory, then it can modify them.
> This can potentially be undesirable. Depending on what you're doing,
> you'll have to mix and match permissions as needed. Mostly apache just
> needs to be able to read stuff, so having root own it with 644 is
> fine. If you're using a CMS which allows folks to edit things via the
> webserver, then those will have to be owned by apache, or apache will
> otherwise need rights to modify them. Have I made that muddled and
> complex enough?
> 
Yes! :o)

Most of the hosted stuff is indeed CMS, so I'll go for apache:apache.

Cheers,

Niki