<font color="#333399"><font>I am using the package up-to-date provided by Nginx in their repository for Debian, not directly the one included in any Debian official repositories.<br><br>There --> <a href="http://nginx.org/en/download.html" target="_blank">http://nginx.org/en/download.html</a></font></font><br clear="all">


<font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font><br>
<br><br><div class="gmail_quote">On Thu, May 10, 2012 at 7:18 PM, Steve <span dir="ltr"><<a href="mailto:steeeeeveee@gmx.net" target="_blank">steeeeeveee@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
-------- Original-Nachricht --------<br>
> Datum: Thu, 10 May 2012 18:31:47 -0400<br>
> Von: "B.R." <<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>><br>
> An: <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
> Betreff: Re: Nginx + PHP-FPM: Permissions on UNIX socket<br>
<div><br>
> Hi all again,<br>
><br>
> As my nginx package (gathered from the Debian Sqeeze repository @Nginx)<br>
> specified, the maintainer should be "Sergey Budnevitch" <<a href="mailto:sb@nginx.com" target="_blank">sb@nginx.com</a>>.<br>
> However, I got a mailer daemon saying the user doesn't exist...<br>
><br>
> How can I submit a bug to the Debian Squeeze Nginx package maintainer?<br>
><br>
</div>Maybe by using this URL -> <a href="http://www.debian.org/Bugs/" target="_blank">http://www.debian.org/Bugs/</a><br>
<br>
<br>
> ---<br>
> *B. R.*<br>
<div>><br>
><br>
> On Wed, May 9, 2012 at 7:51 PM, B.R. <<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>> wrote:<br>
><br>
> > Well,<br>
> ><br>
> > Following the advice of a friend, I made the Nginx user owner of the<br>
> > socket.<br>
> > Guess what: it works!<br>
> ><br>
> > I restricted the chmod to 0600 to be sure the group was involved.<br>
> ><br>
> > Now here is some questions:<br>
> > Why can't we use the group right on the socket?<br>
> > Why is it the owner user who only has an impact on the effectiveness of<br>
> > the rights?<br>
> ><br>
> > The group is useless here... I am a little lost following that logic.<br>
> > ---<br>
</div>> > *B. R.*<br>
<div>> ><br>
> ><br>
> ><br>
> > On Wed, May 9, 2012 at 7:12 PM, B.R. <<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>> wrote:<br>
> ><br>
> >> Hi,<br>
> >><br>
> >> I still don't get it...<br>
> >> I even tried to put the UNIX socket file inside a directory whose owner<br>
> >> group was the 'www-data' one... Still 'Permission denied' in the Nginx<br>
> log<br>
> >> files!<br>
> >><br>
> >> I reverted temporarily to the old way to bind Nginx with PHP-FPM, using<br>
> >> the standard TCP listening and restricting it to the local interface<br>
> >> through my firewall.<br>
> >><br>
> >> If someone had an idea on this, I would be glad if he contributed!<br>
> >> ---<br>
</div>> >> *B. R.*<br>
<div><div>> >><br>
> >><br>
> >><br>
> >> On Wed, May 9, 2012 at 1:43 PM, B.R. <<a href="mailto:reallfqq-nginx@yahoo.fr" target="_blank">reallfqq-nginx@yahoo.fr</a>> wrote:<br>
> >><br>
> >>> Hi Mark,<br>
> >>><br>
> >>> Since I don't have ACL installed, here is the output of all others<br>
> >>> commands:<br>
> >>><br>
> >>> $ sudo service php5-fpm restart<br>
> >>> Restarting PHP5 FastCGI Process Manager: php5-fpm.<br>
> >>><br>
> >>><br>
> >>> $ date +%Y-%m-%d\ %H:%M:%S<br>
> >>> 2012-05-09 19:39:30<br>
> >>><br>
> >>><br>
> >>> $ ls -ald /var /var/run /var/run/php-fpm.sock<br>
> >>> drwxr-xr-x 16 root     root     4096 21 nov.  17:10 /var<br>
> >>> drwxr-xr-x  7 root     root     4096  9 mai   19:39 /var/run<br>
> >>> srw-rw----  1 www-data www-data    0  9 mai   19:39<br>
> /var/run/php-fpm.sock<br>
> >>><br>
> >>> $ groups nginx<br>
> >>> nginx : www-data debian-transmission<br>
> >>><br>
> >>> $ groups www-data<br>
> >>> www-data : www-data<br>
> >>><br>
> >>><br>
> >>> $ ps aux | grep -F -e php -e nginx<br>
> >>>  root     19448  0.0  0.0  30400  1164 ?        Ss   May08   0:00<br>
> nginx:<br>
> >>> master process /usr/sbin/nginx -c /etc/nginx/nginx.conf<br>
> >>> nginx    19449  0.0  0.0  30808  2104 ?        S    May08   0:00<br>
> nginx:<br>
> >>> worker process<br>
> >>> root     30316  0.0  0.1 108440  4252 ?        Ss   19:39   0:00<br>
> >>> php-fpm: master process (/etc/php5/fpm/php-fpm.conf)<br>
> >>> www-data 30317  0.0  0.0 108440  3788 ?        S    19:39   0:00<br>
> >>> php-fpm: pool www<br>
> >>> www-data 30318  0.0  0.0 108440  3788 ?        S    19:39   0:00<br>
> >>> php-fpm: pool www<br>
> >>> (me)    30330  0.0  0.0   9616   832 pts/0    S+   19:39   0:00 grep<br>
> -F<br>
> >>> -e php -e nginx<br>
> >>><br>
> >>> I still don't get the problem...<br>
> >>> ---<br>
</div></div>> >>> *B. R.*<br>
<div>> >>><br>
> >>><br>
> >>><br>
> >>> On Wed, May 9, 2012 at 1:32 PM, W-Mark Kubacki<br>
> <<a href="mailto:wmark%2Bnginx@hurrikane.de" target="_blank">wmark+nginx@hurrikane.de</a><br>
> >>> > wrote:<br>
> >>><br>
> >>>> # (stop, then start php-fpm)<br>
> >>>> # date +%Y-%m-%d\ %H:%M:%S<br>
> >>>> # ls -ald /var /var/run /var/run/php-fpm.sock<br>
> >>>> # getfacl /var/run/php-fpm.sock<br>
> >>>> # groups nginx<br>
> >>>> # groups www-data<br>
> >>>> # ps aux | grep -F -e php -e nginx<br>
> >>>><br>
> >>><br>
> >>><br>
> >><br>
> ><br>
<br>
</div><span><font color="#888888">--<br>
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir<br>
belohnen Sie mit bis zu 50,- Euro! <a href="https://freundschaftswerbung.gmx.de" target="_blank">https://freundschaftswerbung.gmx.de</a><br>
</font></span><div><div><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br>