[libvirt-users] the acl mode of files created by libvirtd

Hi, all I use virsh save command to dump a domain, the mode is 0600, and belongs to "root", how can i change the mode? Thanks. William -- That night, I thanked God for seeing me thought the day of days and prayed I would make it through tomorrow. I also promised that if some day I could get home again, I would find a nice peaceful town and spend rest of my life in peace.

On 11/11/2012 10:11 PM, Hao.Zhang wrote:
Hi, all I use virsh save command to dump a domain, the mode is 0600, and belongs to "root", how can i change the mode?
Unfortunately, I don't think libvirt code currently has any solution for specifying an alternate owner for dump files. Perhaps something could be added to /etc/libvirt/qemu.conf, alongside the user/group settings that qemu will run under. Also, when using 'virsh save' followed by 'virsh restore', libvirt ensures that the restore will (temporarily) change permissions as needed on the file to be legible by qemu even if the save file didn't have those permissions. [Your mail came through twice. There is no need to resend mail to this list after subscribing; non-subscribers are allowed to post, and there is a moderation delay on first-time posts whether or not you subscribe.] -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Hao.Zhang