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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]