flathub / org.qbittorrent.qBittorrent

https://flathub.org/apps/details/org.qbittorrent.qBittorrent
9 stars 11 forks source link

Cannot download to VirtualBox shared folder #62

Open thargoid-elite opened 3 years ago

thargoid-elite commented 3 years ago

System details:

qBittorrent can open torrent files from vboxsf shared folders, but an attempt to download a torrent to the shared folder results in Permission Denied.

qBittorrent installed from PPA does not have this issue, that's why I'm reporting it here.

Strange details:

  1. Download some blocks from a torrent using qBittorrent from PPA, then switch to Flathub version, and recheck. After recheck, Flathub version can continue downloading the torrent for as long as it does not result in the creation of new files. Downloading new blocks to already existing files works, but an attempt to create a new file results in Permission Denied.
  2. Remount the shared folder using VirtualBox GUI. After remount, attempt to recheck a torrent from a shared folder using Flathub version. Torrent directory will get nobody:nogroup owner and group, which cannot be reset with chown root:vboxsf. Access to directory can only be restored with a shared folder remount.
  3. After remount, recheck the torrent using a PPA version. After that recheck, Flathub version can continue downloading like in the point 1.