mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2109] Firefox and native messaging #1426
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#1426
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 @alkim0 on GitHub (Sep 7, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2109
Hi, somewhat recently, firefox started allowing native apps. However, this requires that another executable be allowed to run in the firefox jail. I'm not quite sure how to do this.
Specifically, I'm trying to use the native app for tridactyl which installs a python script to
$HOME/.local/share/tridactyl/native_main.py. Firefox needs to be able to execute this python script (like a shell script, and not as an argument to the interpreter).I use firejail with a private directory for firefox:
firejail --private=~/firefox-jail, and I made sure the python script is installed to the private directory, and I've enabled thefirefox-common-addons.profileto allow python. However, I'm continuing to getpermission deniederrors. Any suggestions?@Vincent43 commented on GitHub (Sep 7, 2018):
Try disabling
noexec ${HOME}from/etc/firejail/firefox-common.profile. If you have distro with apparmor then you have to add/{,run/firejail/mnt/oroot/}home/** ix,to/etc/apparmor.d/local/firejail-localas well.@chiraag-nataraj commented on GitHub (Oct 3, 2018):
@alkim0 Did @Vincent43's suggestion work?
@alkim0 commented on GitHub (Oct 7, 2018):
Sorry for the late response, but yes! This does work! Thank you.
@petRUShka commented on GitHub (Oct 24, 2018):
@Vincent43, could you please tell if it is possible to narrow folders with
execcapability.Idea is to add
noexecto all$HOMEbut some particular directory.@petRUShka commented on GitHub (Oct 24, 2018):
@alkim0, could you please provide whole configuration changes for native to work?
I've added python and have disabled
noexec $HOMEbut it doesn't work...@Vincent43 commented on GitHub (Oct 24, 2018):
@petRUShka you would have to add
noexecto all dirs except one which isn't much scalable.@petRUShka commented on GitHub (Oct 25, 2018):
@Vincent43, sad to hear :(