Package: nginx
Version: 1.2.0-1~squeeze

When a UNIX domain socket permissions are set to allow the primary group of
the nginx worker processes to read/write on it, the Nginx worker process
fail to access it with a 'permission denied' error logged.

Way to reproduce it: Binding Nginx on PHP-FPM UNIX domain socket

PHP-FPM socket configured as follow:
- User: www-data
- Group: www-data
- Mode: 0660

Nginx configured as follow:
- Worker processes spawned with the user 'nginx'
- User 'nginx' has 'www-data' as primary group

Details on the configuration can be found here:
http://forum.nginx.org/read.php?2,226182

It would be also nice to check than any group of the Nginx worker processes
can be used for setting access permissions on sockets, not only its primary
one.

I am using Debian 6 Squeeze GNU/Linux 2.6.32-5-amd64 x86_64
---
*B. R.*

Reply via email to