Live snapshots creates a temporary directory where libvirt driver
creates a new image from the instance's disk using blockRebase.
Currently this directory is created with 777 permissions making this
directory accessible by all the users in the system.
This patch changes the tempdir permissions so they have the o+x
flag set, which is what libvirt needs to be able to write in it and
Reviewed: https:/ /review. openstack. org/58852 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8a34fc3d48c 467aa196f65eed4 44ccdc7c02f19f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8a34fc3d48c467a a196f65eed444cc dc7c02f19f
Author: Xavier Queralt <email address hidden>
Date: Wed Nov 27 20:44:36 2013 +0100
Enforce permissions in snapshots temporary dir
Live snapshots creates a temporary directory where libvirt driver
creates a new image from the instance's disk using blockRebase.
Currently this directory is created with 777 permissions making this
directory accessible by all the users in the system.
This patch changes the tempdir permissions so they have the o+x
flag set, which is what libvirt needs to be able to write in it and
Closes-Bug: #1227027 821727e92b66827 6004fc0f84d
Change-Id: I767ff5247b4452