flathub / com.biglybt.BiglyBT

https://flathub.org/apps/details/com.biglybt.BiglyBT
1 stars 0 forks source link

Flatpack folder change on each startup #11

Closed Musickiller closed 1 year ago

Musickiller commented 1 year ago

issue on BiglySoftware: https://github.com/BiglySoftware/BiglyBT/issues/2951

Description

All folders I choose, are being converted from /home/name/Downloads/HDD-Downloads/biglybt/ to /run/flatpak/doc/<random thing>/biglybt/ which seem change on every startup. Is there a way to choose folders directly or mitigate the issue in some other way?

It may be caused by the fact that my torrents are stored on a second drive, but it gets mounted with fstab, so there should be no issue o_O

Note: HDD-Downloads is a link to /home/name/other/btrfs/home/mk/Downloads/ which is another drive. Will try to save directly to that folder, instead of a link... I think o_O

Anyway, I will test with my Downloads folder later.

Reproduction

  1. Install BiglyBT with flatpack,
  2. save torrent to some folder,
  3. restart,
  4. observe missing data due to folder being empty (unmounted?)
  5. select "new" folder (the same as last time)
  6. Files found, continue download

About

Java 11.0.16.1 (64 bit) Flathub /app/jre

SWT v4942r22, gtk/3.24.37, zoom=100, dpi=96 Linux v6.1.25-1-MANJARO, amd64 (64 bit) B3.3.0.0/4 az3

ghazyami commented 1 year ago

I believe what you are describing is a natural behaviour of the portal system of flatpak (which gives temporary access to a path), if you want to have a fixed path that stays the same and not converted and changed after restarts, then grant permanent access to BiglyBT for said path - you can do that using a tool like Flatseal, and then you should be able to use it as normal

Musickiller commented 1 year ago

Oh! I didn't know that, seems a bit unobvious.. Thanks!!