fix: undo permission changes on startup

This commit is contained in:
Jan 2023-12-13 17:54:54 +01:00 committed by juarez
parent ca7772421b
commit 164d1a66fb
1 changed files with 0 additions and 4 deletions

View File

@ -132,10 +132,6 @@ 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 bridgehead /var/cache/bridgehead
sudo $CHOWN -R --silent bridgehead /tmp/bridgehead
set -e
} }
source lib/monitoring.sh source lib/monitoring.sh