Re: Permissions on UNIX domain sockets

2012-05-10 Thread Chris Davies
B.R. wrote: > Nginx spawns its worker processes with the user 'nginx' who belongs > to the 'www-data' group. But when Nginx tried to bind on the PHP-FPM > socket, it encountered a 'permission denied' error. Is the primary group for the nginx user "www-data" or something else? Sometimes when a pro

Permissions on UNIX domain sockets

2012-05-10 Thread B.R.
Hi, I recently encountered some permissions trouble with a UNIX domain socket. I was trying to bind Nginx on PHP-FPM that way to get rid of the TCP socket usually used. PHP-FPM spawned its socket with its user/group set up in its configuration file. I had: - User: www-data - Group: www-data - Mod