aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-12-21 22:46:10 +0000
committerLibravatar GitHub <noreply@github.com>2019-12-21 22:46:10 +0000
commitd02cf11b707fba86acca87b20552c627ce600adf (patch)
tree5d60411990895497cfc2c29ae93e4faaac023665
parentSupport Brave's native sandboxing (diff)
downloadfirejail-d02cf11b707fba86acca87b20552c627ce600adf.tar.gz
firejail-d02cf11b707fba86acca87b20552c627ce600adf.tar.zst
firejail-d02cf11b707fba86acca87b20552c627ce600adf.zip
Update brave.profile to support native sandboxing
-rw-r--r--etc/brave.profile13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/brave.profile b/etc/brave.profile
index 7cd925a4c..35c59f5a3 100644
--- a/etc/brave.profile
+++ b/etc/brave.profile
@@ -1,6 +1,6 @@
1# Firejail profile for brave 1# Firejail profile for brave
2# This file is overwritten after every install/update
3# Description: Web browser that blocks ads and trackers by default. 2# Description: Web browser that blocks ads and trackers by default.
3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include brave.local 5include brave.local
6# Persistent global definitions 6# Persistent global definitions
@@ -9,15 +9,20 @@ include globals.local
9# noexec /tmp is included in chromium-common.profile and breaks Brave 9# noexec /tmp is included in chromium-common.profile and breaks Brave
10ignore noexec /tmp 10ignore noexec /tmp
11 11
12noblacklist ${HOME}/.config/brave 12noblacklist ${HOME}/.cache/BraveSoftware
13noblacklist ${HOME}/.config/BraveSoftware 13noblacklist ${HOME}/.config/BraveSoftware
14noblacklist ${HOME}/.config/brave
15noblacklist ${HOME}/.config/brave-flags.conf
14# brave uses gpg for built-in password manager 16# brave uses gpg for built-in password manager
15noblacklist ${HOME}/.gnupg 17noblacklist ${HOME}/.gnupg
16 18
17mkdir ${HOME}/.config/brave 19mkdir ${HOME}/.cache/BraveSoftware
18mkdir ${HOME}/.config/BraveSoftware 20mkdir ${HOME}/.config/BraveSoftware
19whitelist ${HOME}/.config/brave 21mkdir ${HOME}/.config/brave
22whitelist ${HOME}/.cache/BraveSoftware
20whitelist ${HOME}/.config/BraveSoftware 23whitelist ${HOME}/.config/BraveSoftware
24whitelist ${HOME}/.config/brave
25whitelist ${HOME}/.config/brave-flags.conf
21whitelist ${HOME}/.gnupg 26whitelist ${HOME}/.gnupg
22 27
23# Brave sandbox needs read access to /proc/config.gz 28# Brave sandbox needs read access to /proc/config.gz