Nginx + PHP-FPM: Permissions on UNIX socket
reallfqq-nginx at yahoo.fr
Sat May 12 16:30:39 UTC 2012
Wow thanks Sergey!
That did the trick.
I didn't know that you could add a group as 'supplementary' when it was
already your 'primary' one... Kind of strange trick to do!
I am definitely not familiar with the way permissions are defined for nux
It's strange that supplementary groups are handled correctly and that Nginx
makes the assumption that the primary group has the same name as the user
when it is not specified in the configuration.
Maxim noted my request as an 'enhancement'. Since the logic is blurry I
would suggest to get back to 'bug'! :oP
On Sat, May 12, 2012 at 8:57 AM, Sergey Budnevitch <sb at waeme.net> wrote:
> 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.
> > 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
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx