From 39059c627b38f07efb9edbe8814ee07bf2e92db9 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 6 Jun 2018 11:58:28 +0200 Subject: [PATCH] Add --unsafe-perm for cloudron-syslog installation --- scripts/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 251b5ef92..14af70c24 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -99,7 +99,7 @@ if [[ "$(cloudron-syslog --version)" != "1.0.0" ]]; then rm -rf ${CLOUDRON_SYSLOG_DIR} mkdir -p ${CLOUDRON_SYSLOG_DIR} $curl -sL https://git.cloudron.io/cloudron/cloudron-syslog/-/archive/master/cloudron-syslog-master.tar.gz | tar zxvf - --strip-components=1 -C ${CLOUDRON_SYSLOG_DIR} - $(cd ${CLOUDRON_SYSLOG_DIR} && npm install) + $(cd ${CLOUDRON_SYSLOG_DIR} && npm install --unsafe-perm) # need --unsafe-perm since we run as root and npm drops privileges fi if ! id "${USER}" 2>/dev/null; then