quickemu-project / quickgui

An elegant virtual machine manager for the desktop
MIT License
993 stars 78 forks source link

bug: downloading reports success instead of failure when storage is read-only #191

Closed gschintgen closed 3 months ago

gschintgen commented 3 months ago

I confirm this bug has not already been reported

Describe the bug When the storage directory for the virtual machines is accidentally read-only (e.g. new mountpoint, still owned by root), downloading an image will seemingly start correctly, but after a second or so it terminates with a notification about a successful download.

To Reproduce Steps to reproduce the behavior:

  1. Fresh install of quickemu, quickgui
  2. as root: Set up a new partition, configure it in fstab, mount it as /home/myuser/virtualmachines
  3. in quickgui's "Manager": set the new directory as storage directory
  4. in quickgui: "Create new machines", choose a random operating system
  5. Click 'Download'
  6. Observe "Success" when in fact the download failed.

Expected behavior The failed download should lead to an error message.

Desktop (please complete the following information):