qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.85k stars 3.87k forks source link

Flatpak - Ubuntu 23.04 - No internet unless ran with sudo (as root) #19001

Open Balls0fSteel opened 1 year ago

Balls0fSteel commented 1 year ago

qBittorrent & operating system versions

qBittorrent: 4.5.2 x64 Operating system: Ubuntu 23.04 x64 Qt: 6.4.2 libtorrent-rasterbar: 1.2.18.0 / lt20 version

What is the problem?

Unless you run the AppImage as root, you cannot download/upload at all because it has no internet connection. If you add a torrent and check trackers, it says Unreachable/Permission Denied/etc.

If you run it with "sudo" (which is like, don't do that), it works.

Steps to reproduce

  1. Install Ubuntu 23.04 in a VM/host machine
  2. Download AppImage
  3. Make it executable
  4. Run it

Additional context

I tried debugging it, but there is just no message anywhere. I tried using "setcap", but no dice. Nothing could make it work for the simple user.

Maybe this issue happens on other distros too, I can verify/check if needed. Please @ if want me to test.

Log(s) & preferences file(s)

not_working_user.txt working_root.txt

There is really nothing in log.

Balls0fSteel commented 1 year ago

Fedora 38 Live works. (tested in live mode)

luzpaz commented 1 year ago

@Balls0fSteel is this still an issue in latest stable or beta?