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.

dylan
asked May 9, 2017
1 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/

View More
jagannatharumugam
answered May 9, 2017
Your Answer
||||
x
 
100:0