Web lists-archives.com

Re: www-data

On 2018-10-28 23:57, Gene Heskett wrote:

I don't think thats how it works. UID/GID as www-data is just part of the
sandbox apache2 and its ilk play in. In fact after I've equipt apach2
with some new toy, the last thing I do as root is a chown -R
www-data:www-data any directory apache2 can access in going about its
normal business.

That's what I've always done but the perceived wisdom is
directories 750
files 640
owned root
group www-data

with the odd exception.


Key ID    4BFEBB31