diff options
Diffstat (limited to 'etc/profile-a-l/brave.profile')
-rw-r--r-- | etc/profile-a-l/brave.profile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/profile-a-l/brave.profile b/etc/profile-a-l/brave.profile new file mode 100644 index 000000000..35c59f5a3 --- /dev/null +++ b/etc/profile-a-l/brave.profile | |||
@@ -0,0 +1,32 @@ | |||
1 | # Firejail profile for brave | ||
2 | # Description: Web browser that blocks ads and trackers by default. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include brave.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # noexec /tmp is included in chromium-common.profile and breaks Brave | ||
10 | ignore noexec /tmp | ||
11 | |||
12 | noblacklist ${HOME}/.cache/BraveSoftware | ||
13 | noblacklist ${HOME}/.config/BraveSoftware | ||
14 | noblacklist ${HOME}/.config/brave | ||
15 | noblacklist ${HOME}/.config/brave-flags.conf | ||
16 | # brave uses gpg for built-in password manager | ||
17 | noblacklist ${HOME}/.gnupg | ||
18 | |||
19 | mkdir ${HOME}/.cache/BraveSoftware | ||
20 | mkdir ${HOME}/.config/BraveSoftware | ||
21 | mkdir ${HOME}/.config/brave | ||
22 | whitelist ${HOME}/.cache/BraveSoftware | ||
23 | whitelist ${HOME}/.config/BraveSoftware | ||
24 | whitelist ${HOME}/.config/brave | ||
25 | whitelist ${HOME}/.config/brave-flags.conf | ||
26 | whitelist ${HOME}/.gnupg | ||
27 | |||
28 | # Brave sandbox needs read access to /proc/config.gz | ||
29 | noblacklist /proc/config.gz | ||
30 | |||
31 | # Redirect | ||
32 | include chromium-common.profile | ||