mirror of https://github.com/samply/bridgehead.git
fix: Update permissions on update
This commit is contained in:
parent
fb4da54297
commit
74eb86f8af
|
@ -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
|
||||||
|
if [ -d "/tmp/bridgehead" ]; then # Used by datashield
|
||||||
|
sudo chown -R bridgehead:docker "/tmp/bridgehead"
|
||||||
|
if [ -d "/var/cache/bridgehead" ]; then # Used by the teiler
|
||||||
|
sudo chown -R bridgehead:docker "/var/cache/bridgehead"
|
||||||
}
|
}
|
||||||
|
|
||||||
source lib/monitoring.sh
|
source lib/monitoring.sh
|
||||||
|
|
Loading…
Reference in New Issue