0

qemu-kvm: could not open disk image /CentOS-6.8-x86_64-bin-DVD1.iso: Permission denied

Got the shown error when creating new virtual machine from command-line. Am using CentOS as main machine with KVM hypervisor and configured bridge network too.

qemu-kvm: -drive file=/root/Documents/CentOS-6.8-x86_64-bin-DVD1.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /root/Documents/CentOS-6.8-x86_64-bin-DVD1.iso: Permission denied

I have given full permissions to that directory but still its Denied.

KVM Permissions QEMU-KVM Add a comment
dylan
asked May 09 2017

Answer

0

Once you run this command, the respective iso file will be set to qemu user's ownership, so place the iso file in some other user's location like /home/user1/

Add a comment
jagannatharumugam
asked May 09 2017
edited Oct 05 2018
Post your Answer