From 0ec8a7a2f1a2aae6124ccae311d9abf2637472a6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 12 Nov 2013 22:09:11 -0500 Subject: [PATCH] install: Make sure we own everything under /var/log/zulip supervisord may start up during the install process and do a bunch of incorrect stuff, with the net effect of creating files in there owned by root. (imported from commit 28379af9680bf9d3c72da196f329abdf8c82c6be) --- scripts/setup/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup/install b/scripts/setup/install index cb763d0846..1fffeed891 100755 --- a/scripts/setup/install +++ b/scripts/setup/install @@ -42,7 +42,7 @@ ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball") ln -nsf "$deploy_path" /home/zulip/deployments/current -chown -R zulip:zulip /home/zulip/deployments +chown -R zulip:zulip /home/zulip/deployments /var/log/zulip cd /home/zulip/deployments/current su zulip -c /home/zulip/deployments/current/scripts/setup/create-database