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

Peter Krempa pkrempa at redhat.com
Tue Jul 29 09:01:51 UTC 2014


On 07/28/14 21:15, Eric Blake wrote:
> 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
> 

Pushed; Thanks.

Peter

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


More information about the libvir-list mailing list