Bug #76573 [Fbk->Opn]: Log file is created with wrong permissions if deprecated configuration found
| From: | mbiebl at messageconcept dot com | Date: | Thu, 05 Jul 2018 21:31:27 +0000 |
| Subject: | Bug #76573 [Fbk->Opn]: Log file is created with wrong permissions if deprecated configuration found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216163@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76573&edit=1
ID: 76573
User updated by: mbiebl at messageconcept dot com
Reported by: mbiebl at messageconcept dot com
Summary: Log file is created with wrong permissions if
deprecated configuration found
-Status: Feedback
+Status: Open
Type: Bug
Package: IIS related
Operating System: Windows Server 2016
PHP Version: 7.2.7
Block user comment: N
Private report: N
New Comment:
Hi Anatol,
I'd say let's focus on the issue at hand in this bug report. If I find time to generate a
backtrace I'll file a separate bug report for the php-cgi.exe crash
Previous Comments:
------------------------------------------------------------------------
[2018-07-05 21:01:19] ab@php.net
Or some relevant configs, at least.
Thanks.
------------------------------------------------------------------------
[2018-07-05 21:00:14] ab@php.net
@mbiebl could you please share a backtrace or a crash dump from the case the syslog scenario
crashes? See https://bugs.php.net/bugs-generating-backtrace-win32.php
Thanks.
------------------------------------------------------------------------
[2018-07-05 20:18:32] spam2 at rhsoft dot net
well, having logfiles in C:\Windows\temp\PHP72_errors.log must be a Windows attitude, i am out
here...
------------------------------------------------------------------------
[2018-07-05 20:17:03] mbiebl at messageconcept dot com
Well, even if I pre-create the log file somehow (say in the application installer), it's not
unthinkable that the admin cleans up C:\Windows\Temp at some point (along with the log file). So
I'd need a separate daemon which is running all the time and watches C:\Windows\Temp and
immediately re-creates the file.
Otherwise, on the next connection attempt the file will be created by php with the wrong permissions
again leading to a very hard to debug problem for the admin.
------------------------------------------------------------------------
[2018-07-05 19:55:13] spam2 at rhsoft dot net
where would you store and delay them? logs are written when they happen
just make sure that your defined logfiles exist from the begin and have the correct permissions and
you are done
------------------------------------------------------------------------
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=76573
--
Edit this bug report at https://bugs.php.net/bug.php?id=76573&edit=1