Skip to content

firefox: cannot run if installed in $HOME #4154

Closed Answered by rusty-snake
opqriu asked this question in Q&A
Discussion options

You must be logged in to vote

As already @reinerh said, you need to whitelist ${HOME}/.firefox so that it appears in the sandbox. In addition you need to ignore noexec ${HOME} and ignore apparmor (appamor make $HOME noexec too).

ignore apparmor
ignore noexec ${HOME}
whitelist ${HOME}/.firefox

EDIT: And you can add read-only ${HOME}/.firefox to /etc/firefox/disable-common.local so other jails can not modify it. Firefox will then need ignore read-only ${HOME}/.firefox to update itself.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@opqriu
Comment options

Answer selected by rusty-snake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4153 on April 01, 2021 15:48.