From 018d75775eab4a0f045949a9d069c57686ca2686 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 21 Apr 2020 08:24:28 -0400 Subject: reorganize github etc directory --- etc/profile-a-l/chromium-common.profile | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 etc/profile-a-l/chromium-common.profile (limited to 'etc/profile-a-l/chromium-common.profile') diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile new file mode 100644 index 000000000..c54fb0e19 --- /dev/null +++ b/etc/profile-a-l/chromium-common.profile @@ -0,0 +1,44 @@ +# Firejail profile for chromium-common +# This file is overwritten after every install/update +# Persistent local customizations +include chromium-common.local +# Persistent global definitions +# added by caller profile +#include globals.local + +# noexec ${HOME} breaks DRM binaries. +?BROWSER_ALLOW_DRM: ignore noexec ${HOME} + +noblacklist ${HOME}/.pki +noblacklist ${HOME}/.local/share/pki + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-programs.inc + +mkdir ${HOME}/.pki +mkdir ${HOME}/.local/share/pki +whitelist ${DOWNLOADS} +whitelist ${HOME}/.pki +whitelist ${HOME}/.local/share/pki +include whitelist-common.inc +include whitelist-var-common.inc + +apparmor +caps.keep sys_admin,sys_chroot +netfilter +# nodbus - prevents access to passwords saved in GNOME Keyring and KWallet, also breaks Gnome connector +nodvd +nogroups +notv +?BROWSER_DISABLE_U2F: nou2f +shell none + +disable-mnt +?BROWSER_DISABLE_U2F: private-dev +# private-tmp - problems with multiple browser sessions + +# the file dialog needs to work without d-bus +?HAS_NODBUS: env NO_CHROME_KDE_FILE_DIALOG=1 -- cgit v1.2.3-70-g09d2