Changing permissions

Last Updated : Dec 13, 2024 |

Procedure

  1. From the /var/lib/libvirt/images directory, run the following command to change the owner and permissions to 640 on the files:

    sudo chown qemu:qemu sudo cp WebLM-<version number>-KVM-4E-THICKdisk1.qcow2

    sudo chmod 640 sudo cp WebLM-<version number>-KVM-4E-THICKdisk1.qcow2

  2. Go to /var/lib/libvirt/staging directory and remove all the extracted images and converted images. This is important to ensure that there is sufficient space for future deployments of KVM images. Do not remove files from the images directory.

    cd /var/lib/libvirt/staging

    sudo ls -lrt

    sudo rm WebLM-*

    sudo rm README*