mirror of https://github.com/samply/bridgehead.git
fix: Change permissions on new bridgehead dirs
This commit is contained in:
parent
83a0555192
commit
473216fabc
|
@ -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