Req #61435 [Com]: PHP-FPM logs are not readable by group/others by default
Edit report at https://bugs.php.net/bug.php?id=61435&edit=1
ID: 61435
Comment by: silvian dot cretu at gmail dot com
Reported by: php at grange dot me
Summary: PHP-FPM logs are not readable by group/others by
default
Status: Assigned
Type: Feature/Change Request
Package: FPM related
PHP Version: 5.3.10
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
I would also like the possibility of settings the ownership of the error_log. Say, for example, I
want it's user to be "root" and it's group to be "adm" (on
Debian-based Linux distributions), so that users in "adm" can read it.
Previous Comments:
------------------------------------------------------------------------
[2014-08-14 09:51:28] peter at lekensteyn dot nl
Since this bug got little attention, I opened a PR at
https://github.com/php/php-src/pull/771
------------------------------------------------------------------------
[2013-09-14 08:32:02] lekensteyn at gmail dot com
No need to apologize, I do care but apparently it is not very high on the to-do list of PHP devs (if
there are any).
In January of this year, I reported an open_basedir-related security bug on this website, to which I
still haven't got any reply yet. I wonder if somebody is actually using bug tracker besides
users.
------------------------------------------------------------------------
[2013-09-14 07:11:23] php at grange dot me
Sorry, I fixed my patch on our systems but didn't take time to upload it here as
nobody seemed to care. Thank you.
------------------------------------------------------------------------
[2013-09-07 13:53:38] lekensteyn at gmail dot com
Patch refreshed for context in PHP 5.5.3 (no other changes). Could you please consider fixing this
bug that has been present for over a year? A patch is available.
------------------------------------------------------------------------
[2013-02-03 12:06:15] lekensteyn at gmail dot com
I have attached a new patch (the old one was incompatible with 5.3). I have also changed
"a+" to "a" as fpm_php_trace_dump is only writing to the file, not reading.
According to the manpage, fdopen must have a mode that is compatible with the fd. In the old patch,
there was a mismatch between a+ and O_WRONLY.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61435
--
Edit this bug report at https://bugs.php.net/bug.php?id=61435&edit=1
Thread (8 messages)