Re: Trouble with volume permissions

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

 



On Mon, Jan 18, 2016 at 10:11:44AM -0500, Frank Laszlo wrote:
I'm working on an integration that uses QCOW2 volumes with backing stores.
I have qemu configured to run as the "qemu" user, which seems to be fine. I
now need to make sure my volumes are readable by this user. However, it
seems the volume being created is owned by root, instead of "qemu" as I'd
expect it to be. I tried various things and was unable to get it to create
the file as the correct user. I've supplied a link to the XML I'm using to
create the volumes. If anyone has any ideas it would be massively helpful.


I'm not sure what you mean.  If I use your XML, the user is set to
107:107.  Are you sure qemu has uid 107 on your system?  Anyway, if you
have 'dynamic_ownership' set to '1' in the configuration, you don't need
to bother with that.  Libvirt will set all the labels automagically.

HTH,
Martin

Thanks


Link to XML: http://pastebin.com/kbg9n6kW



--
Frank Laszlo
Nexcess - Beyond Hosting
21700 Melrose Ave.
Southfield, MI. 48075
Cell: +1.248.602.6123
Phone: +1.866.639.2377
Fax:   +1.248.281.0473

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux