mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6080] file-roller: cannot use "open with" (dbus/noroot) #3173
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oknyshuk on GitHub (Nov 8, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6080
Description
can't use "open with..." in file-roller because dbus is broker. without firejail it works
Steps to Reproduce
file-roller <some archive>GDBUS error ... org.freedesktop.DBus.Error.ServiceUnknownExpected behavior
app picker should appear
Actual behavior
error popup appears
Behavior without a profile
Environment
37e40e0206)Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
output of
firejail /usr/bin/file-roller ~/downloads/archive.raroutput of
LC_ALL=C firejail --debug /usr/bin/file-roller ~/downloads/archive.rar@rusty-snake commented on GitHub (Nov 8, 2023):
If you want to use open-with, start with
@oknyshuk commented on GitHub (Nov 9, 2023):
@rusty-snake:
@ghost commented on GitHub (Nov 13, 2023):
This might be due to
noroot, cfr. https://github.com/netblue30/firejail/issues/2506#issuecomment-469047491. Try again addingignore noroot.disable-common.inc blocks that path. Try again adding
noblacklist ${HOME}/.local/share/gvfs-metadata.Please note that all these ignores do loosen the file-roller sandbox. If you really need the "open with..." functionality you'll have to do that. Alternatively you could keep the sandbox as tight as possible, extract the file(s) you need and open those separately from file-roller. Such a workflow has the added benefit of opening them with a dedicated, fully sandboxed app (when the mimetype is supported obviously). Always up to user discretion/personal preferences to determine the balance between security/ease-of-use...
@oknyshuk commented on GitHub (Nov 13, 2023):
thanks, that works:
@ghost commented on GitHub (Nov 13, 2023):
@k1gen Now you've got the portal working by using
ignore norootit might be possible to keep dbus-user filtering. Try exchangingignore dbus-user filterwithdbus-user.talk org.freedesktop.portal.Desktop.