Welcome! Log In Create A New Profile

Advanced

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R.
May 12, 2012 12:32PM
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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 08, 2012 11:56AM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

W-Mark Kubacki May 09, 2012 01:34PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 09, 2012 01:46PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 09, 2012 07:14PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 09, 2012 07:54PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 10, 2012 06:34PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Steve May 10, 2012 07:20PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 10, 2012 09:16PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Steve May 10, 2012 09:36PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Sergey Budnevitch May 11, 2012 12:32AM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Sergey Budnevitch May 11, 2012 01:26AM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 11, 2012 12:10PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Edho Arief May 11, 2012 12:16PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 11, 2012 12:26PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Edho Arief May 11, 2012 12:58PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 11, 2012 01:42PM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

Sergey Budnevitch May 12, 2012 08:58AM

Re: Nginx + PHP-FPM: Permissions on UNIX socket

B.R. May 12, 2012 12:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready