mirror of https://github.com/samply/bridgehead.git
fix: Change permissions on new bridgehead dirs
This commit is contained in:
parent
9f31e950a5
commit
b73ddc883c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue