Cockpit Create VM Permission Denied

I’ve met an error:

When I’m creating a Windows VM by using “Cockpit Virtual Machine”, I want to use virtio so I have to append an virtio iso image as cdrom. But once you click the “Install” button, you will meet the error:

“permission denied” on creating system VM with iso file in home directory”.

I’ve searched for the error in the internet but no resolution found, after several times trying I got how to resolve the problem:

Simply do not insert an virtio cdrom, just click “Install” button, and after you run into the Windows installation program, return to the Cockpit WebUI and then eject the windows iso cdrom, and inject virtio iso cdrom, after scan and install the virtio driver, reject the virtio iso cdrom and then inject the windows iso cdrom again.

Simple but a working solution :)