Bug report
I currently set php_admin_value[error_log] = /path/to/error.log in my FPM configuration and have the permissions on the file as 0600.
I've noticed when ddtrace logs to the php error log file it changes the permissions to 0666 unexpectedly. Upon a quick look I have found https://github.com/DataDog/dd-trace-php/pull/2528/files and unsure why permissions 0666 is required.
PHP version
8.0.30
Tracer or profiler version
0.98.1
Installed extensions
No response
Output of phpinfo()
No response
Upgrading from
No response
Bug report
I currently set
php_admin_value[error_log] = /path/to/error.login my FPM configuration and have the permissions on the file as0600.I've noticed when ddtrace logs to the php error log file it changes the permissions to 0666 unexpectedly. Upon a quick look I have found https://github.com/DataDog/dd-trace-php/pull/2528/files and unsure why permissions 0666 is required.
PHP version
8.0.30
Tracer or profiler version
0.98.1
Installed extensions
No response
Output of
phpinfo()No response
Upgrading from
No response