Results 1 to 3 of 3

Thread: Permission denied to read images on KVM

  1. #1
    Join Date
    Aug 2005
    Location
    Rio de Janeiro, Brasil
    Beans
    92

    Unhappy Permission denied to read images on KVM

    Hi folks,

    I am trying to run KVM machines with a new server with 12.04 and I got the following error:

    error: internal error process exited while connecting to monitor: qemu-system-x86_64: -drive file=/srv/Linux14.qcow2,if=none,id=drive-ide0-0-0,format=qcow2: could not open disk image /srv/Linux14.qcow2: Permission denied

    Using the same machine with Ubuntu 11, it works perfectly. Is there any limitation or new policies that I should configure with 12.04 ?

    Ubuntu 12.04 Server 64bits.
    Compiled against library: libvir 0.9.8
    Using library: libvir 0.9.8
    Using API: QEMU 0.9.8
    Running hypervisor: QEMU 1.0.0

  2. #2
    Join Date
    Aug 2005
    Location
    Rio de Janeiro, Brasil
    Beans
    92

    Re: Permission denied to read images on KVM

    I just got the answer but how can I add a permission to my custom directory (in fact, it's another partition ?

    http://superuser.com/questions/29842...active#tab-top

  3. #3
    Join Date
    Aug 2005
    Location
    Rio de Janeiro, Brasil
    Beans
    92

    Smile Re: Permission denied to read images on KVM

    Just to document to other users using 12.04

    You have to update /etc/libvirt/qemu.conf

    and uncomment user="root" and group="root"

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •