| 1 |
# Firejail profile for chromium-common |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include chromium-common.local |
| 5 |
# Persistent global definitions |
| 6 |
# added by caller profile |
| 7 |
#include globals.local |
| 8 |
|
| 9 |
# noexec ${HOME} breaks DRM binaries. |
| 10 |
?BROWSER_ALLOW_DRM: ignore noexec ${HOME} |
| 11 |
|
| 12 |
# To enable support for the KeePassXC extension, add the following lines to |
| 13 |
# chromium-common.local. |
| 14 |
# Note: Start KeePassXC before the web browser and keep it open to allow |
| 15 |
# communication between them. |
| 16 |
#noblacklist ${RUNUSER}/app |
| 17 |
#whitelist ${RUNUSER}/app/org.keepassxc.KeePassXC |
| 18 |
#whitelist ${RUNUSER}/kpxc_server |
| 19 |
#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer |
| 20 |
|
| 21 |
noblacklist ${HOME}/.local/share/pki |
| 22 |
noblacklist ${HOME}/.pki |
| 23 |
noblacklist /usr/lib/chromium/chrome-sandbox |
| 24 |
|
| 25 |
# Add the next line to chromium-common.local if you want the web browser to |
| 26 |
# have access to Gnome extensions (extensions.gnome.org) via the browser |
| 27 |
# connector. |
| 28 |
#include allow-python3.inc |
| 29 |
|
| 30 |
blacklist ${PATH}/curl |
| 31 |
blacklist ${PATH}/wget |
| 32 |
blacklist ${PATH}/wget2 |
| 33 |
|
| 34 |
mkdir ${HOME}/.local/share/pki |
| 35 |
whitelist ${HOME}/.local/share/pki |
| 36 |
whitelist ${HOME}/.pki |
| 37 |
whitelist /usr/share/mozilla/extensions |
| 38 |
whitelist /usr/share/webext |
| 39 |
include whitelist-run-common.inc |
| 40 |
|
| 41 |
# If your kernel allows the creation of user namespaces by unprivileged users |
| 42 |
# (for example, if running `unshare -U echo enabled` prints "enabled"), you |
| 43 |
# can add the next line to chromium-common.local. |
| 44 |
#include chromium-common-hardened.inc.profile |
| 45 |
|
| 46 |
?BROWSER_DISABLE_U2F: nou2f |
| 47 |
|
| 48 |
?BROWSER_DISABLE_U2F: private-dev |
| 49 |
#private-tmp # issues when using multiple browser sessions |
| 50 |
|
| 51 |
# Note: This prevents access to passwords saved in GNOME Keyring and KWallet |
| 52 |
# and breaks Gnome connector. |
| 53 |
#dbus-user none |
| 54 |
|
| 55 |
# The file dialog needs to work without d-bus. |
| 56 |
?HAS_NODBUS: env NO_CHROME_KDE_FILE_DIALOG=1 |
| 57 |
|
| 58 |
# Redirect |
| 59 |
include blink-common.profile |