mirror of
https://opendev.org/openstack/kolla.git
synced 2026-01-16 23:10:33 +00:00
Merge "horizon: Ensure horizon owns /var/log/kolla/horizon"
This commit is contained in:
commit
f7db20a52d
1 changed files with 4 additions and 0 deletions
|
|
@ -252,6 +252,10 @@ if [[ ! -d "/var/log/kolla/horizon" ]]; then
|
|||
mkdir -p /var/log/kolla/horizon
|
||||
fi
|
||||
|
||||
if [[ $(stat -c %U:%G /var/log/kolla/horizon) != "horizon:kolla" ]]; then
|
||||
chown -R horizon:kolla /var/log/kolla/horizon
|
||||
fi
|
||||
|
||||
if [[ $(stat -c %a /var/log/kolla/horizon) != "755" ]]; then
|
||||
chmod 755 /var/log/kolla/horizon
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue