From 7fb27efae38aa359bd96907f14b3f85ccd2f3004 Mon Sep 17 00:00:00 2001 From: janskiba Date: Wed, 13 Dec 2023 12:24:51 +0000 Subject: [PATCH] fix: Change permissions on new bridgehead dirs --- lib/functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/functions.sh b/lib/functions.sh index 656c752..d382e55 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -132,6 +132,10 @@ assertVarsNotEmpty() { fixPermissions() { CHOWN=$(which chown) sudo $CHOWN -R bridgehead /etc/bridgehead /srv/docker/bridgehead + set +e + sudo $CHOWN -R --silent /var/cache/bridgehead + sudo $CHOWN -R --silent /tmp/bridgehead + set -e } source lib/monitoring.sh