From 2cfa2a4a03df7eb75985e85ed8b25a2f9e80def5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Tue, 12 Nov 2024 12:54:30 -0500 Subject: [PATCH] * Tue Nov 12 2024 Jean-Philippe Pialasse 11.0.0-11.sme - fix error: stat of error.log failed: Permission denied [SME: 12665] --- root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm | 2 +- smeserver-php.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm b/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm index 542b622..a930bf2 100644 --- a/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm +++ b/root/etc/e-smith/templates/etc/logrotate.d/php-fpm/php-fpm @@ -26,7 +26,7 @@ $OUT = "/var/log/php/*/php*fpm.log { notifempty sharedscripts delaycompress - su www www + su root www create 600 www www postrotate /sbin/e-smith/service php-fpm reload >/dev/null 2>&1 || true diff --git a/smeserver-php.spec b/smeserver-php.spec index 5442247..e9ba90a 100644 --- a/smeserver-php.spec +++ b/smeserver-php.spec @@ -1,5 +1,5 @@ %define version 11.0.0 -%define release 10 +%define release 11 %define name smeserver-php %global debug_package %{nil} @@ -281,6 +281,9 @@ rm -rf $RPM_BUILD_ROOT %preun %changelog +* Tue Nov 12 2024 Jean-Philippe Pialasse 11.0.0-11.sme +- fix error: stat of error.log failed: Permission denied [SME: 12665] + * Thu Oct 24 2024 John Crisp 11.0.0-10.sme - fix spec file typo