fix: Change permissions on new bridgehead dirs

This commit is contained in:
janskiba 2023-12-13 12:24:51 +00:00 committed by juarez
parent efd26aa761
commit 7fb27efae3
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,10 @@ assertVarsNotEmpty() {
fixPermissions() { fixPermissions() {
CHOWN=$(which chown) CHOWN=$(which chown)
sudo $CHOWN -R bridgehead /etc/bridgehead /srv/docker/bridgehead 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 source lib/monitoring.sh