Nginx + PHP-FPM: Permissions on UNIX socket

Edho Arief edho at myconan.net
Fri May 11 16:56:33 UTC 2012


On Fri, May 11, 2012 at 11:25 PM, B.R. <reallfqq-nginx at yahoo.fr> wrote:
> Did you specify the www-data group in the 'user' configuration entry of
> Nginx?
> If you did so then this is why. It is what you shall do at the present time
> to allow group privileges to the worker processes.
>
> I only specified the user 'nginx' and not any group, since I thought the
> groups which nginx belongs to would could automatically be used for access
> privileges.
> Maxim added a comment on the ticket and flagged it as a potential
> enhancement, look at his comment: http://trac.nginx.org/nginx/ticket/165
>

I don't set anything, actually :/ (and I usually use same group name
as username which probably explains why I never encountered this)



More information about the nginx mailing list