You are not logged in.
I'v got a new device (hp elitebook g5 which work flawlessly with full disk encryption btw, and it's quite astonishing how everything works (didn't try the fingerprint) out of the box the HP sure view screen included) .
I imported my VM's from my PC to the laptop in qcow2 format (kvm/libvirtd/qemu) but whenever I try to access something it gives me this error:
Error starting domain: Cannot access storage file '/home/hpg5/devel/VIRTUAL/virtualstorage/win10.qcow2' (as uid:65534, gid:992): Permission denied
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
self._backend.create()
File "/usr/lib/python3.7/site-packages/libvirt.py", line 1089, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: Cannot access storage file '/home/hpg5/devel/VIRTUAL/virtualstorage/win10.qcow2' (as uid:65534, gid:992): Permission denied
I'm running the latest of everything , and my user is in libvirtd group.
The files of course are owned by my user and users group, I even tried chmod 777 on them with no success.
It might be newbies and the solution might be easy but it doesn't ring a bell at the moment.
NOTE: my gid (users) on this one is 985 which is different from those, and the uid is 1000
Last edited by r0b0t (2019-06-28 19:16:07)
Offline
Check /etc/libvirt/qemu.conf for options "user" and "group".
Offline
Thanks, I changed user to myusername and groups to "users" and it worked.
Offline