Req #61835 [NEW]: php-fpm is not allowed to run as root

From: Date: Tue, 24 Apr 2012 12:16:32 +0000
Subject: Req #61835 [NEW]: php-fpm is not allowed to run as root
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169914@lists.php.net to get a copy of this message
From:             
Operating system: FreeBSD
PHP version:      5.3.10
Package:          FPM related
Bug Type:         Feature/Change Request
Bug description:php-fpm is not allowed to run as root

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 bug report at https://bugs.php.net/bug.php?id=61835&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=61835&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=61835&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=61835&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=61835&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61835&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=61835&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=61835&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=61835&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=61835&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=61835&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=61835&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=61835&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=61835&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=61835&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=61835&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61835&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=61835&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=61835&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=61835&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=61835&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=61835&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#169914) next »