From 584690a9f26cbc0253f1feddd91c70a905993223 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Tue, 29 Mar 2016 13:25:56 -0400 Subject: [PATCH] Fixing permission for libvirtd.log Fixing permissions so all users could access libvirtd.log Change-Id: I6f63a847ba9c5591a87922d3b117b101100b2fad Closes-Bug: 1563430 Co-Authored-By: Steven Dake --- docker/nova/nova-libvirt/extend_start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/nova/nova-libvirt/extend_start.sh b/docker/nova/nova-libvirt/extend_start.sh index d0cdd4d1cd..e04d952654 100644 --- a/docker/nova/nova-libvirt/extend_start.sh +++ b/docker/nova/nova-libvirt/extend_start.sh @@ -15,7 +15,10 @@ fi if [[ ! -d "/var/log/kolla/libvirt" ]]; then mkdir -p /var/log/kolla/libvirt + touch /var/log/kolla/libvirt/libvirtd.log + chmod 644 /var/log/kolla/libvirt/libvirtd.log fi if [[ $(stat -c %a /var/log/kolla/libvirt) != "755" ]]; then chmod 755 /var/log/kolla/libvirt + chmod 644 /var/log/kolla/libvirt/libvirtd.log fi