foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.61k stars 1.14k forks source link

Error starting domain: Cannot access storage file '/home/tarif/macOS-Simple-KVM/ESP.qcow2' (as uid:64055, gid:109): Permission denied #620

Closed tarifalhasan closed 9 months ago

tarifalhasan commented 11 months ago

Error starting domain: Cannot access storage file '/home/tarif/macOS-Simple-KVM/ESP.qcow2' (as uid:64055, gid:109): Permission denied

Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper callback(asyncjob, *args, kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb callback(*args, *kwargs) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn ret = fn(self, args, kwargs) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1384, in startup self._backend.create() File "/usr/lib/python3/dist-packages/libvirt.py", line 1353, in create raise libvirtError('virDomainCreate() failed') libvirt.libvirtError: Cannot access storage file '/home/tarif/macOS-Simple-KVM/ESP.qcow2' (as uid:64055, gid:109): Permission denied

Masamune3210 commented 11 months ago

It's telling you what the issue is right in the message you copies. The user in question does not have permission to open the file.

tarifalhasan commented 11 months ago

It's telling you what the issue is right in the message you copies. The user in question does not have permission to open the file.

when i try to run os on vm
Screenshot from 2023-11-08 23-27-25

Masamune3210 commented 11 months ago

I already told you the same thing the message you posted originally and this one are both also telling you. The user account does not have permission to access the file.

tarifalhasan commented 11 months ago

I already told you the same thing the message you posted originally and this one are both also telling you. The user account does not have permission to access the file.

How i can access permission?

therealandreww commented 9 months ago

I already told you the same thing the message you posted originally and this one are both also telling you. The user account does not have permission to access the file.

How i can access permission?

Chown or chmod