summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/libvirt/imagecache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/virt/libvirt/imagecache.py b/nova/virt/libvirt/imagecache.py
index d903c87fc..f92376a17 100644
--- a/nova/virt/libvirt/imagecache.py
+++ b/nova/virt/libvirt/imagecache.py
@@ -355,6 +355,7 @@ class ImageCacheManager(object):
{'id': img_id,
'base_file': base_file})
if os.path.exists(base_file):
+ virtutils.chown(base_file, os.getuid())
os.utime(base_file, None)
def verify_base_images(self, context):