aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar 0x6a <0x6a@gmx.net>2021-07-20 22:05:05 +0200
committerLibravatar 0x6a <unreal_account@web.de>2021-07-20 22:05:23 +0200
commita490e6725600bd58078ee0b23461e3e24c3145dd (patch)
tree6d273bdc50367a074229d9cbbd9a9ef8595a024e
parentBlacklist /*firefox* except for firefox itself (diff)
downloadfirejail-a490e6725600bd58078ee0b23461e3e24c3145dd.tar.gz
firejail-a490e6725600bd58078ee0b23461e3e24c3145dd.tar.zst
firejail-a490e6725600bd58078ee0b23461e3e24c3145dd.zip
moved rules from firefox-common.profile to firefox.profile
-rw-r--r--etc/profile-a-l/firefox-common.profile2
-rw-r--r--etc/profile-a-l/firefox.profile2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/profile-a-l/firefox-common.profile b/etc/profile-a-l/firefox-common.profile
index 557e3559b..cb0fae5dc 100644
--- a/etc/profile-a-l/firefox-common.profile
+++ b/etc/profile-a-l/firefox-common.profile
@@ -14,7 +14,6 @@ include firefox-common.local
14 14
15nodeny ${HOME}/.pki 15nodeny ${HOME}/.pki
16nodeny ${HOME}/.local/share/pki 16nodeny ${HOME}/.local/share/pki
17nodeny ${RUNUSER}/*firefox* # location of profiles if profile-sync-daemon is used
18 17
19include disable-common.inc 18include disable-common.inc
20include disable-devel.inc 19include disable-devel.inc
@@ -27,7 +26,6 @@ mkdir ${HOME}/.local/share/pki
27allow ${DOWNLOADS} 26allow ${DOWNLOADS}
28allow ${HOME}/.pki 27allow ${HOME}/.pki
29allow ${HOME}/.local/share/pki 28allow ${HOME}/.local/share/pki
30allow ${RUNUSER}/*firefox*
31include whitelist-common.inc 29include whitelist-common.inc
32include whitelist-runuser-common.inc 30include whitelist-runuser-common.inc
33include whitelist-var-common.inc 31include whitelist-var-common.inc
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile
index 8acfe7c2a..93d32d141 100644
--- a/etc/profile-a-l/firefox.profile
+++ b/etc/profile-a-l/firefox.profile
@@ -16,6 +16,7 @@ include globals.local
16 16
17nodeny ${HOME}/.cache/mozilla 17nodeny ${HOME}/.cache/mozilla
18nodeny ${HOME}/.mozilla 18nodeny ${HOME}/.mozilla
19nodeny ${RUNUSER}/*firefox* # location of profiles if profile-sync-daemon is used
19 20
20deny /usr/libexec 21deny /usr/libexec
21 22
@@ -35,6 +36,7 @@ allow /usr/share/gnome-shell/search-providers/firefox-search-provider.ini
35allow /usr/share/gtk-doc/html 36allow /usr/share/gtk-doc/html
36allow /usr/share/mozilla 37allow /usr/share/mozilla
37allow /usr/share/webext 38allow /usr/share/webext
39allow ${RUNUSER}/*firefox*
38include whitelist-usr-share-common.inc 40include whitelist-usr-share-common.inc
39 41
40# firefox requires a shell to launch on Arch - add the next line to your firefox.local to enable private-bin. 42# firefox requires a shell to launch on Arch - add the next line to your firefox.local to enable private-bin.