From: Guo Xiang Tan Date: Mon, 4 Dec 2017 05:19:18 +0000 (+0800) Subject: Fix nginx folder permission. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=344b0ff61a59bac66a0a1454d32581bc1bc4eb75;p=discourse_docker.git Fix nginx folder permission. --- 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*