Hyeonseop Lee
2016-Apr-02 02:09 UTC
[libvirt-users] dynamic_ownership behavior with volumes
Hi, I'm having troubles with volume ownership. When I configure domain with disk type='file', dynamic_ownership works fine, the owner of image file changes into libvirt-qemu:kvm. However when I add the image file as a libvirt volume (in default pool) and configure domain with disk type=volume, the owner of image file remains root:root. Actually, libvirt seems to be changing the owner into root:root even after I manually changed it. Is this intended behavior? If so, what is preferred way to set ownership of volume image files, instead of running qemu as root? FYI, I'm using libvirt 1.2.2 on Ubuntu 14.04. Thank you!
Apparently Analagous Threads
- Re: Which objects does dynamic_ownership apply to?
- Which objects does dynamic_ownership apply to?
- Re: Which objects does dynamic_ownership apply to?
- Re: Which objects does dynamic_ownership apply to?
- virsh vol-create-as failing on NFS automount for chmod (dynamic_ownership = 0)