Skip to content

Commit 5e24daa

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "cinder: Fix log dir permission"
2 parents aa0cf02 + 969cbc7 commit 5e24daa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/cinder/cinder-base/extend_start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
if [[ ! -d "/var/log/kolla/cinder" ]]; then
44
mkdir -p /var/log/kolla/cinder
55
fi
6+
if [[ $(stat -c %U:%G /var/log/kolla/cinder) != "cinder:kolla" ]]; then
7+
chown -R cinder:kolla /var/log/kolla/cinder
8+
fi
69
if [[ $(stat -c %a /var/log/kolla/cinder) != "755" ]]; then
710
chmod 755 /var/log/kolla/cinder
811
fi

0 commit comments

Comments
 (0)