Req #61835 [Opn->Csd]: php-fpm is not allowed to run as root
| From: | fat@php.net | Date: | Wed, 23 May 2012 08:39:11 +0000 |
| Subject: | Req #61835 [Opn->Csd]: php-fpm is not allowed to run as root | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170703@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61835&edit=1
ID: 61835
Updated by: fat@php.net
Reported by: william88 at gmail dot com
Summary: php-fpm is not allowed to run as root
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: FPM related
Operating System: FreeBSD
PHP Version: 5.3.10
-Assigned To:
+Assigned To: fat
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-05-23 08:38:16] fat@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=06c7c3674b5e205023de7a150d29d78c313143f8
Log: - Fixed bug #61835 (php-fpm is not allowed to run as root)
------------------------------------------------------------------------
[2012-05-23 08:38:15] fat@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7b396c078cc8fef18f37cc9a22c437f13921e375
Log: - Fixed bug #61835 (php-fpm is not allowed to run as root)
------------------------------------------------------------------------
[2012-04-24 12:16:32] william88 at gmail dot com
Description:
------------
Hi,
Yes, I know the risks about running php as root.
However there are situations where one would _need_ to do it, like appliances,
accessing operating system resources or even for testing purposes.
It seems correct to warn and disallow it by default, but I think it is reasonable
to have a "force" option that allows php-fpm running as root, as long there is a
big message warning about the risks.
Expected result:
----------------
Allow to run as root
Actual result:
--------------
Not able to run as root, no force option available.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61835&edit=1