我已经在 Ubuntu 20.04 桌面版上安装了 Virt-Manager,使用的任务与 19.10 上相同。使用最后一个任务时,我没有遇到任何问题,但在 20.04 上,当我尝试在外部硬盘上创建虚拟机时,我收到了此问题:
Unable to complete install: 'Cannot access storage file '/media/user/Storage' (as uid:64055, gid:108): Permission denied'
看到细节是这样的
Unable to complete install: 'Cannot access storage file '/media/dakne/vStorage/VM/ubuntu20.04' (as uid:64055, gid:108): 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/createvm.py", line 2089, in _do_async_install
guest.installer_instance.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 542, in start_install
domain = self._create_guest(
File "/usr/share/virt-manager/virtinst/install/installer.py", line 491, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib/python3/dist-packages/libvirt.py", line 4034, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: Cannot access storage file '/media/dakne/vStorage/VM/ubuntu20.04' (as uid:64055, gid:108): Permission denied
我已经完成了 chmod 'n chown 但没有任何反应!!!!