# Changes to KVM?

**URL:** <https://forum.endeavouros.com/t/changes-to-kvm/26026>\
**Category:** Applications\
**Created:** [April 13, 2022, 1:35pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026 "2022-04-13T13:35:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katronix](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/katronix/32/39770_2.png) [@Katronix](https://forum.endeavouros.com/u/Katronix)\
**Post date:** [April 13, 2022, 1:35pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/1 "2022-04-13T13:35:16Z")

</div>

Hi all,

As part of my new install of Endeavor I found that KVM is associated with the user libvirt-qemu instead of libvirt now.

I usually use [https://linuxhint.com/install\_configure\_kvm\_archlinux/](https://linuxhint.com/install_configure_kvm_archlinux/) which used to work, however even adding myself to the libvirt-qemu user it doesn’t change anything. The error I’m getting is:

> Unable to complete install: ‘Cannot access storage file ‘/home/chris/VMs/new\_work.qcow2’ (as uid:966, gid:966): Permission denied’

User 966 is the libvirt-qemu install.

In case it matters the qcow2 file is one I’ve brought over from other installs so I can do my day job without issues.

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [April 13, 2022, 1:37pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/2 "2022-04-13T13:37:13Z")

</div>

What are the permissions on the file, and on the directory tree? Are all directories traversable by 966?

---

<div class="post-metadata">

**Author:** ![Katronix](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/katronix/32/39770_2.png) [@Katronix](https://forum.endeavouros.com/u/Katronix)\
**Post date:** [April 13, 2022, 1:40pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/3 "2022-04-13T13:40:31Z")

</div>

The directory is /home/chris/VMs is currently set to libvirt-qemu:libvirt-qemu with perms drwxr-xr-x, the actual file has perms of 777 currently with the same user, however being that its in /home/chris (which is owned by chris:chris ) it may not be able to get to it I guess.

---

<div class="post-metadata">

**Author:** ![Katronix](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/katronix/32/39770_2.png) [@Katronix](https://forum.endeavouros.com/u/Katronix)\
**Post date:** [April 13, 2022, 1:47pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/4 "2022-04-13T13:47:16Z")

</div>

Previous version of the KVM software was able to fix the perms on its own, it seems this new version has forgotten how? Really frustrating.

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [April 13, 2022, 1:52pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/5 "2022-04-13T13:52:23Z")

</div>

I’d probably reset the permissions along these lines:

```auto
sudo chown -R $USER:libvirt-qemu /home/chris/VMs
chmod -R u+rwX,g+rwX /home/chris/VMs
chmod a+X /home/chris

```

---

<div class="post-metadata">

**Author:** ![Katronix](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/katronix/32/39770_2.png) [@Katronix](https://forum.endeavouros.com/u/Katronix)\
**Post date:** [April 13, 2022, 1:58pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/6 "2022-04-13T13:58:26Z")

</div>

That fixed it, thanks Jonathon

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [April 15, 2022, 1:59pm UTC](https://forum.endeavouros.com/t/changes-to-kvm/26026/7 "2022-04-15T13:59:05Z")

</div>

Closed on April 15, 2022, 1:59pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
