[GH-ISSUE #563] "Open destination folder" doesn't work in qBittorrent with private-bin #398

Closed
opened 2026-05-05 05:47:06 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @GabrielH0we on GitHub (Jun 11, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/563

Version: 0.9.41
Default qbittorrent.profile with whitelisted content folders (${HOME}/)
"Open destination folder" (for folders) and "Open" (for files) functionality don't work in firejailed qBittorrent.

MESA-LOADER: could not create udev device for fd 30
MESA-LOADER: could not create udev device for fd 33
MESA-LOADER: could not create udev device for fd 33
Unable to detect a launcher for 'file:///<file or folder>'

If you add xdg-open to private-bin, you can see this:

MESA-LOADER: could not create udev device for fd 29
MESA-LOADER: could not create udev device for fd 22
MESA-LOADER: could not create udev device for fd 22
Launch failed (/usr/local/bin/xdg-open file:///<file or folder>)
Originally created by @GabrielH0we on GitHub (Jun 11, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/563 Version: 0.9.41 Default qbittorrent.profile with whitelisted content folders (${HOME}/<folder>) "Open destination folder" (for folders) and "Open" (for files) functionality don't work in firejailed qBittorrent. ``` MESA-LOADER: could not create udev device for fd 30 MESA-LOADER: could not create udev device for fd 33 MESA-LOADER: could not create udev device for fd 33 Unable to detect a launcher for 'file:///<file or folder>' ``` If you add xdg-open to private-bin, you can see this: ``` MESA-LOADER: could not create udev device for fd 29 MESA-LOADER: could not create udev device for fd 22 MESA-LOADER: could not create udev device for fd 22 Launch failed (/usr/local/bin/xdg-open file:///<file or folder>) ```
gitea-mirror 2026-05-05 05:47:06 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Jun 11, 2016):

I have disabled private-bin in qbittorrent for now, thanks for the bug.

<!-- gh-comment-id:225359141 --> @netblue30 commented on GitHub (Jun 11, 2016): I have disabled private-bin in qbittorrent for now, thanks for the bug.
Author
Owner

@GabrielH0we commented on GitHub (Oct 16, 2016):

Update. Please note, exo and Thunar below are XFCE applications.

Got it working with private-bin and "Open destination folder"

private-bin qbittorrent,sh,xdg-open,xdg-mime,Thunar,exo-open,python2
private-dev
private-etc X11,fonts,xdg,resolv.conf

What was important:

  • use "xdg" in private-etc (doesn't work without that - helper.rc with reference to Thunar file manager is there),
  • use sh,xdg-open,exo-open,Thunar in private-bin (Thunar with capital T - doesn't work like "thunar" on Slackware, but probably will on other Linux systems),
  • use python2 in private-bin (to make Search Engine work),
  • use resolv.conf (to allow Search engine to search online).
<!-- gh-comment-id:254034706 --> @GabrielH0we commented on GitHub (Oct 16, 2016): Update. Please note, exo and Thunar below are XFCE applications. Got it working with private-bin and "Open destination folder" ``` private-bin qbittorrent,sh,xdg-open,xdg-mime,Thunar,exo-open,python2 private-dev private-etc X11,fonts,xdg,resolv.conf ``` What was important: - use "xdg" in private-etc (doesn't work without that - helper.rc with reference to Thunar file manager is there), - use sh,xdg-open,exo-open,Thunar in private-bin (Thunar with capital T - doesn't work like "thunar" on Slackware, but probably will on other Linux systems), - use python2 in private-bin (to make Search Engine work), - use resolv.conf (to allow Search engine to search online).
Author
Owner

@netblue30 commented on GitHub (Oct 16, 2016):

Thanks for update, at some point I'll bring back private-bin.

<!-- gh-comment-id:254045264 --> @netblue30 commented on GitHub (Oct 16, 2016): Thanks for update, at some point I'll bring back private-bin.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#398
No description provided.