mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5436] torbrowser-launcher: can't open file '/usr/bin/torbrowser-launcher': [Errno 13] Permission denied (AppArmor) #2992
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#2992
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 @CoRoe on GitHub (Oct 27, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5436
fj.txt
fj-debug.txt
Description
torbrowser-launcher raises an exception when run under firejail.
Steps to Reproduce
$ firejail /usr/bin/torbrowser-launcherExpected behavior
Tor browser is launched.
Actual behavior
torbrowser-launcherraises an exception:Behavior without a profile
Tor browser is launched.
Additional context
The issue seems to be related to gpg key access.
Environment
Linux Mint
Package: torbrowser-launcher
Version: 0.3.2-9ubuntu1
Package: firejail
Version: 0.9.70-1~0ubuntu20.04.0
Package: firejail-profiles
Version: 0.9.70-1~0ubuntu20.04.0
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
LC_ALL=C firejail /usr/bin/torbrowser-launcher: fj.txtOutput of
LC_ALL=C firejail --debug /usr/bin/torbrowser-launcher: fj-debug.txtEDIT by @rusty-snake: Fix links.
@rusty-snake commented on GitHub (Oct 27, 2022):
Does it work with
noblacklist ${HOME}/.gnupg?@CoRoe commented on GitHub (Oct 28, 2022):
No, no change.
@CoRoe commented on GitHub (Oct 28, 2022):
I looked a bit further and it turned out that the behaviour is related to the
apparmorstatement in thetorbrowser-launcher firejailprofile. Here is a table:The second and third columns indicate if the
firejail-defaultresp.torbrowser-launcherAppArmor profiles are enforced or not. Last column:list index out of range The issue I first came across, probably related to GPG keys.
Permission denied tbl:
Permission denied desktop:
@rusty-snake commented on GitHub (Oct 28, 2022):
You should either use firejail (with its AA profile) or AppArmor to isolate a program. If you use both, they bite each other, you have trouble and some features (at both ends) can not be used.
@CoRoe commented on GitHub (Oct 28, 2022):
So the issue is mostly related to AppArmor, except for the
apparmorstatement in the torbrowser-launcher profile.@CoRoe commented on GitHub (Oct 28, 2022):
I see.
@CoRoe commented on GitHub (Oct 28, 2022):
Thanks for your response!