From 4279120a919f5a443c975d6a869fd75f7402453e Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 19 Aug 2019 15:17:28 -0300 Subject: [PATCH] On Debian rsyslog is running under root --- image/base/runit-1.d-00-fix-var-logs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image/base/runit-1.d-00-fix-var-logs b/image/base/runit-1.d-00-fix-var-logs index a762730..c12065f 100755 --- a/image/base/runit-1.d-00-fix-var-logs +++ b/image/base/runit-1.d-00-fix-var-logs @@ -3,6 +3,6 @@ mkdir -p /var/log/nginx chown -R www-data:www-data /var/log/nginx chmod -R 644 /var/log/nginx chmod 755 /var/log/nginx -touch /var/log/syslog && chown -f syslog:adm /var/log/syslog* -touch /var/log/auth.log && chown -f syslog:adm /var/log/auth.log* -touch /var/log/kern.log && chown -f syslog:adm /var/log/kern.log* +touch /var/log/syslog && chown -f root:adm /var/log/syslog* +touch /var/log/auth.log && chown -f root:adm /var/log/auth.log* +touch /var/log/kern.log && chown -f root:adm /var/log/kern.log* -- 2.25.1