On Wed, 19 Jan 2011 09:38:49 -0300, iarly selbir  wrote:  

Looking
at /var/lib/libvirt/images is there any attribute or permission here to
change? 

[root@kvmsrv002 libvirt]# pwd 
/var/lib/libvirt 


[root@kvmsrv001 libvirt]# ls -lZ 

drwx------ root root boot

drwx--x--x root root system_u:object_r:fusefs_t:s0 images 
drwx------
root root iptables 
drwx------ root root network 
drwx------ root root
qemu    

I don't recall what version of libvirt you're using, but on my
system (libvirt 0.8.3 in Fedora 14), the directory hosting the images
has owner/group of qemu:qemu. Additionally, nobody besides root has read
access to your directory with the disk image files. AFIK, the more
recent libvirtd's will switch to a lower privilege user (i.e. qemu) 

#
ls -lart 
total 16 
drwx--x--x. 3 root root 4096 Dec 10 13:46 .

drwxr-xr-x. 9 root root 4096 Dec 27 11:03 .. 
drwxr-xr-x. 11 qemu qemu
3864 Jan 19 09:15 cluster 

// Thomas
_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

Reply via email to