[libvirt] [PATCH for 1.2.7] storage: create: Create files with correct mode

Eric Blake eblake at redhat.com
Mon Jul 28 19:15:08 UTC 2014


On 07/28/2014 08:59 AM, Peter Krempa wrote:
> Use correct mode when pre-creating files (for snapshots). The refactor
> changing to storage driver usage caused a regression as some systems
> created the file with 000 permissions forbidding qemu to write the file.
> 
> Pass mode to the creating functions to avoid the problem.
> 
> Regression since 185e07a5f82bc0692324f3ee13b4816d71b653c1.
> ---
>  src/storage/storage_backend_fs.c      | 6 +++++-
>  src/storage/storage_backend_gluster.c | 7 ++++++-
>  2 files changed, 11 insertions(+), 2 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140728/f3a928db/attachment-0001.sig>


More information about the libvir-list mailing list