Nginx + PHP-FPM: Permissions on UNIX socket

B.R. 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
users. ;o)

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
---
*B. R.*


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.
> :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.
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120512/b4cdaf72/attachment.html>


More information about the nginx mailing list