From 349d219a57deed8d339b8118eb546f76ee577893 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 29 Feb 2024 18:25:14 +0100 Subject: [PATCH] Fix logs directories access --- helpers/logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/logrotate b/helpers/logrotate index 1b586d205..efc1137c1 100644 --- a/helpers/logrotate +++ b/helpers/logrotate @@ -88,7 +88,7 @@ EOF # Make sure permissions are correct (otherwise the config file could be ignored and the corresponding logs never rotated) chmod 644 "/etc/logrotate.d/$app" mkdir -p "/var/log/$app" - chmod 640 "/var/log/$app" + chmod 750 "/var/log/$app" } # Remove the app's logrotate config.