Bug #67175 [Opn]: Change to the default listen.mode setting.

From: Date: Thu, 01 May 2014 23:42:30 +0000
Subject: Bug #67175 [Opn]: Change to the default listen.mode setting.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185568@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67175&edit=1 ID: 67175 User updated by: peter dot mescalchin at gmail dot com Reported by: peter dot mescalchin at gmail dot com Summary: Change to the default listen.mode setting. Status: Open Type: Bug Package: FPM related Operating System: Ubuntu Linux 14.04LTS PHP Version: 5.5.12 Block user comment: N Private report: N New Comment: Sorry that should be: "Is this intended behaviour? If so either documents and sapi/fpm/php-fpm.conf.in config comments need an update or I guess the default of 0666 needs to be corrected." Previous Comments: ------------------------------------------------------------------------ [2014-05-01 23:37:45] peter dot mescalchin at gmail dot com Description: ------------ It seems the default for listen.mode has changed. In docs it's still listed that the default chmod should be 0666, but it seems that starting PHP-FPM with PHP 5.5.12 now sets the chmod to be 0660. http://www.php.net/manual/en/install.fpm.configuration.php#listen-owner Is this intended behaviour? If so either documents and sapi/fpm/php-fpm.conf.in config comments need an update or I guess the default of 0660 needs to be corrected. Test script: --------------- Expected socket permissions (as with PHP 5.5.11): $ ll /run/php5/ total 4 drwxr-xr-x 2 root root 80 May 2 09:28 ./ drwxr-xr-x 27 root root 980 May 2 08:02 ../ -rw-r--r-- 1 root root 5 May 2 09:28 php-fpm.pid srw-rw-rw- 1 root root 0 May 2 09:28 php-fpm.sock= Returned result (as with PHP 5.5.12): $ ll /run/php5/ total 4 drwxr-xr-x 2 root root 80 May 2 09:30 ./ drwxr-xr-x 27 root root 980 May 2 08:02 ../ -rw-r--r-- 1 root root 5 May 2 09:30 php-fpm.pid srw-rw---- 1 root root 0 May 2 09:30 php-fpm.sock= ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67175&edit=1

« previous php.bugs (#185568) next »