firefox: cannot run if installed in $HOME #4154
-
I use Debian Stable. After I downloaded the firefox-lasted.tar.xz file from the official site, And I typed the following command: Now, I am using Firefox normally.
It does not work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The directory ~/.firefox is not whitelisted by default, that's why it can't find the binary (and any other file inside). You could add new whitelisted directories to /etc/firejail/firefox.local.
Or you just move your installation to ~/.mozilla, which is already whitelisted. |
Beta Was this translation helpful? Give feedback.
-
As already @reinerh said, you need to
EDIT: And you can add |
Beta Was this translation helpful? Give feedback.
As already @reinerh said, you need to
whitelist ${HOME}/.firefox
so that it appears in the sandbox. In addition you need toignore noexec ${HOME}
andignore apparmor
(appamor
make $HOME noexec too).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 needignore read-only ${HOME}/.firefox
to update itself.