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.