Ask Your Question

Permission denied libvirt

asked 2013-04-07 13:50:04 -0500

jpilldev gravatar image

updated 2014-09-28 23:57:41 -0500

mether gravatar image


I installed a virtual host with its IDE disk over an external hard disk, at the moment i try to start the virtual machine i got a message about permission:

qemu-kvm: -drive file=/run/media/juanpa/TOSHIBA/virtualMachines/Centos64b.img,if=none,id=drive-ide0-0-0,format=raw: could not open disk image /run/media/juanpa/TOSHIBA/virtualMachines/Centos64b.img: Permission denied

So, i tried to change the permissión with chmod and, the owner but it not works, the permission and owner stay.

So, when i made an ll over the mount point of the device:

ll /run/media/
total 0
drwxr-x---+ 3 juanpa juanpa 60 abr 11 17:57 juanpa

I think the '+' flag influence in the change permissión, can you tell me about that?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-04-12 02:36:32 -0500

anurag gravatar image

updated 2013-04-12 02:40:20 -0500

"+" sing means your file has extended permissions called ACLs. You may try setting the acl on the disk.

getfacl directory

mount -o remount acl directory

setfacl -m u:username:rwx directory

edit flag offensive delete link more

Question Tools


Asked: 2013-04-07 13:50:04 -0500

Seen: 901 times

Last updated: Apr 12 '13