From 344b0ff61a59bac66a0a1454d32581bc1bc4eb75 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 4 Dec 2017 13:19:18 +0800 Subject: [PATCH] Fix nginx folder permission. --- image/base/runit-1.d-00-fix-var-logs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/base/runit-1.d-00-fix-var-logs b/image/base/runit-1.d-00-fix-var-logs index 8e2e9cd..ca3567d 100755 --- a/image/base/runit-1.d-00-fix-var-logs +++ b/image/base/runit-1.d-00-fix-var-logs @@ -1,8 +1,8 @@ #!/bin/bash mkdir -p /var/log/nginx chown -R www-data:www-data /var/log/nginx -chmod 655 /var/log/nginx chmod -R 644 /var/log/nginx +chmod 655 /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* -- 2.25.1