diff options
author | 2020-05-16 11:48:38 +0200 | |
---|---|---|
committer | 2020-05-16 09:48:38 +0000 | |
commit | 10a67cba6bcff1c419804be55ad4d9c71a26f061 (patch) | |
tree | 1e7cf805bb8b0fdb607a98665c3a5d3d97ba8d58 | |
parent | Add quiet to secret-tool (diff) | |
download | firejail-10a67cba6bcff1c419804be55ad4d9c71a26f061.tar.gz firejail-10a67cba6bcff1c419804be55ad4d9c71a26f061.tar.zst firejail-10a67cba6bcff1c419804be55ad4d9c71a26f061.zip |
Allow google-chrome access to the custom flags files in ~/.config. (#3418)
* Allow google-chrome access to the custom flags files in ~/.config.
* Added noblacklist for the custom flag files for google-chrome-stable.
* Allow read access to the custom flag files for both google-chrome-beta and google-chrome-unstable.
* Added the custom flag files for google-chrome stable, beta and unstable to the disable-programs.inc list.
-rw-r--r-- | etc/inc/disable-programs.inc | 6 | ||||
-rw-r--r-- | etc/profile-a-l/google-chrome-beta.profile | 6 | ||||
-rw-r--r-- | etc/profile-a-l/google-chrome-unstable.profile | 6 | ||||
-rw-r--r-- | etc/profile-a-l/google-chrome.profile | 6 |
4 files changed, 24 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 2c6ffb287..306857617 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -161,6 +161,12 @@ blacklist ${HOME}/.config/cantata | |||
161 | blacklist ${HOME}/.config/catfish | 161 | blacklist ${HOME}/.config/catfish |
162 | blacklist ${HOME}/.config/celluloid | 162 | blacklist ${HOME}/.config/celluloid |
163 | blacklist ${HOME}/.config/cherrytree | 163 | blacklist ${HOME}/.config/cherrytree |
164 | blacklist ${HOME}/.config/chrome-flags.conf | ||
165 | blacklist ${HOME}/.config/chrome-flags.config | ||
166 | blacklist ${HOME}/.config/chrome-beta-flags.conf | ||
167 | blacklist ${HOME}/.config/chrome-beta-flags.config | ||
168 | blacklist ${HOME}/.config/chrome-unstable-flags.conf | ||
169 | blacklist ${HOME}/.config/chrome-unstable-flags.config | ||
164 | blacklist ${HOME}/.config/chromium | 170 | blacklist ${HOME}/.config/chromium |
165 | blacklist ${HOME}/.config/chromium-dev | 171 | blacklist ${HOME}/.config/chromium-dev |
166 | blacklist ${HOME}/.config/chromium-flags.conf | 172 | blacklist ${HOME}/.config/chromium-flags.conf |
diff --git a/etc/profile-a-l/google-chrome-beta.profile b/etc/profile-a-l/google-chrome-beta.profile index 73101f509..a62e4cf74 100644 --- a/etc/profile-a-l/google-chrome-beta.profile +++ b/etc/profile-a-l/google-chrome-beta.profile | |||
@@ -8,10 +8,16 @@ include globals.local | |||
8 | noblacklist ${HOME}/.cache/google-chrome-beta | 8 | noblacklist ${HOME}/.cache/google-chrome-beta |
9 | noblacklist ${HOME}/.config/google-chrome-beta | 9 | noblacklist ${HOME}/.config/google-chrome-beta |
10 | 10 | ||
11 | noblacklist ${HOME}/.config/chrome-beta-flags.conf | ||
12 | noblacklist ${HOME}/.config/chrome-beta-flags.config | ||
13 | |||
11 | mkdir ${HOME}/.cache/google-chrome-beta | 14 | mkdir ${HOME}/.cache/google-chrome-beta |
12 | mkdir ${HOME}/.config/google-chrome-beta | 15 | mkdir ${HOME}/.config/google-chrome-beta |
13 | whitelist ${HOME}/.cache/google-chrome-beta | 16 | whitelist ${HOME}/.cache/google-chrome-beta |
14 | whitelist ${HOME}/.config/google-chrome-beta | 17 | whitelist ${HOME}/.config/google-chrome-beta |
15 | 18 | ||
19 | whitelist ${HOME}/.config/chrome-beta-flags.conf | ||
20 | whitelist ${HOME}/.config/chrome-beta-flags.config | ||
21 | |||
16 | # Redirect | 22 | # Redirect |
17 | include chromium-common.profile | 23 | include chromium-common.profile |
diff --git a/etc/profile-a-l/google-chrome-unstable.profile b/etc/profile-a-l/google-chrome-unstable.profile index 50e9923aa..14547eab2 100644 --- a/etc/profile-a-l/google-chrome-unstable.profile +++ b/etc/profile-a-l/google-chrome-unstable.profile | |||
@@ -8,10 +8,16 @@ include globals.local | |||
8 | noblacklist ${HOME}/.cache/google-chrome-unstable | 8 | noblacklist ${HOME}/.cache/google-chrome-unstable |
9 | noblacklist ${HOME}/.config/google-chrome-unstable | 9 | noblacklist ${HOME}/.config/google-chrome-unstable |
10 | 10 | ||
11 | noblacklist ${HOME}/.config/chrome-unstable-flags.conf | ||
12 | noblacklist ${HOME}/.config/chrome-unstable-flags.config | ||
13 | |||
11 | mkdir ${HOME}/.cache/google-chrome-unstable | 14 | mkdir ${HOME}/.cache/google-chrome-unstable |
12 | mkdir ${HOME}/.config/google-chrome-unstable | 15 | mkdir ${HOME}/.config/google-chrome-unstable |
13 | whitelist ${HOME}/.cache/google-chrome-unstable | 16 | whitelist ${HOME}/.cache/google-chrome-unstable |
14 | whitelist ${HOME}/.config/google-chrome-unstable | 17 | whitelist ${HOME}/.config/google-chrome-unstable |
15 | 18 | ||
19 | whitelist ${HOME}/.config/chrome-unstable-flags.conf | ||
20 | whitelist ${HOME}/.config/chrome-unstable-flags.config | ||
21 | |||
16 | # Redirect | 22 | # Redirect |
17 | include chromium-common.profile | 23 | include chromium-common.profile |
diff --git a/etc/profile-a-l/google-chrome.profile b/etc/profile-a-l/google-chrome.profile index c69e98271..66f76caa0 100644 --- a/etc/profile-a-l/google-chrome.profile +++ b/etc/profile-a-l/google-chrome.profile | |||
@@ -8,10 +8,16 @@ include globals.local | |||
8 | noblacklist ${HOME}/.cache/google-chrome | 8 | noblacklist ${HOME}/.cache/google-chrome |
9 | noblacklist ${HOME}/.config/google-chrome | 9 | noblacklist ${HOME}/.config/google-chrome |
10 | 10 | ||
11 | noblacklist ${HOME}/.config/chrome-flags.conf | ||
12 | noblacklist ${HOME}/.config/chrome-flags.config | ||
13 | |||
11 | mkdir ${HOME}/.cache/google-chrome | 14 | mkdir ${HOME}/.cache/google-chrome |
12 | mkdir ${HOME}/.config/google-chrome | 15 | mkdir ${HOME}/.config/google-chrome |
13 | whitelist ${HOME}/.cache/google-chrome | 16 | whitelist ${HOME}/.cache/google-chrome |
14 | whitelist ${HOME}/.config/google-chrome | 17 | whitelist ${HOME}/.config/google-chrome |
15 | 18 | ||
19 | whitelist ${HOME}/.config/chrome-flags.conf | ||
20 | whitelist ${HOME}/.config/chrome-flags.config | ||
21 | |||
16 | # Redirect | 22 | # Redirect |
17 | include chromium-common.profile | 23 | include chromium-common.profile |