Tuesday 17 September 2013

Virtual Machine Manager Error: "The emulator may not have search permissions" for a certain path

While installing a new virtual machine (VM) using Virtual Machine Manager (VMM) , if you ever come across this error:



it is probably because you have stored the ISO file where the emulator is not able to read and also create an image file for the Virtual Machine.

To resolve this error, store the ISO file where you can change the permissions of the directory to assign read-write permissions to the emulator. For example, you can store the ISO file in the home directory of the user you are logged into.

However, it is recommended to store the ISO file in the /var/lib/libvirt/images/ directory. To assign read-write permissions to this directory, open a terminal and do the following:

sudo chmod 755 /var/lib/libvirt/images/

and enter your password. If you get the following error:

$USER is not in the sudoers file. This incident will be reported.

you are not in the "sudoers" group and therefore, cannot perform some priviledged commands(executed by prepending "sudo"). Either ask you system adminstrator to execute this for you, or if you have access to a user in sudoers group, log in using that user and add the following lines to /etc/sudoers file:

$USER ALL=(ALL:ALL) ALL

replacing $USER by the user you want to add to the sudoers group.

Now copy the ISO image of the Virtual Machine you want to create to this directory and create the VM again using VMM. Please feel free to report any errors you face, as comments below.

No comments:

Post a Comment