Nginx + PHP-FPM: Permissions on UNIX socket

Sergey Budnevitch sb at
Sat May 12 12:57:34 UTC 2012

On 11.05.2012, at 20:08, B.R. wrote:

> OK, thanks Sergey!
> That seemed to be a gross bug, I am glad to know that's only my mistake. :o)
> What do you mean by 'add www-data as supplementary group to nginx user'?
> At the moment, nginx has www-data as its primary group.

usermod -G www-data -a nginx
User can be a member of several (up to 64k on modern linux) supplementary groups.

More information about the nginx mailing list