Merge "Fixing permission for libvirtd.log"

This commit is contained in:
Jenkins 2016-04-01 21:38:26 +00:00 committed by Gerrit Code Review
commit cac7be2f3b

View File

@ -15,7 +15,10 @@ fi
if [[ ! -d "/var/log/kolla/libvirt" ]]; then if [[ ! -d "/var/log/kolla/libvirt" ]]; then
mkdir -p /var/log/kolla/libvirt mkdir -p /var/log/kolla/libvirt
touch /var/log/kolla/libvirt/libvirtd.log
chmod 644 /var/log/kolla/libvirt/libvirtd.log
fi fi
if [[ $(stat -c %a /var/log/kolla/libvirt) != "755" ]]; then if [[ $(stat -c %a /var/log/kolla/libvirt) != "755" ]]; then
chmod 755 /var/log/kolla/libvirt chmod 755 /var/log/kolla/libvirt
chmod 644 /var/log/kolla/libvirt/libvirtd.log
fi fi