diff options
author | Kishore96in <kishore96@gmail.com> | 2020-07-16 12:53:10 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 07:23:10 +0000 |
commit | 319f2dc8d65fe0264e4eb6006aab024751bb5bd4 (patch) | |
tree | c89ff5a1ff396550d1c7e2398d1b6e17fcbe2ff6 /etc/profile-a-l/akregator.profile | |
parent | fix keepassxc (diff) | |
download | firejail-319f2dc8d65fe0264e4eb6006aab024751bb5bd4.tar.gz firejail-319f2dc8d65fe0264e4eb6006aab024751bb5bd4.tar.zst firejail-319f2dc8d65fe0264e4eb6006aab024751bb5bd4.zip |
Blacklist .local/share/kxmlgui5 and allow access only for applications which use it. (#3493)
* blacklist .local/share/kxmlgui5
KDE programs use this to store their toolbar config.
* noblacklist .local/share/kxmlgui5 in the relevant KDE applications.
* Whitelist kxmlgui file for okular.
* Use a glob to blacklist subfolders instead of the parent folder.
noblacklisting individual subdirectories works only if we do it this way
(tested by launching bash in the kate profile).
* Make directory, not file.
* noblacklist relevant subdirs for more KDE applications
Diffstat (limited to 'etc/profile-a-l/akregator.profile')
-rw-r--r-- | etc/profile-a-l/akregator.profile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/profile-a-l/akregator.profile b/etc/profile-a-l/akregator.profile index 377c43804..6a4d775e7 100644 --- a/etc/profile-a-l/akregator.profile +++ b/etc/profile-a-l/akregator.profile | |||
@@ -8,6 +8,7 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.config/akregatorrc | 9 | noblacklist ${HOME}/.config/akregatorrc |
10 | noblacklist ${HOME}/.local/share/akregator | 10 | noblacklist ${HOME}/.local/share/akregator |
11 | noblacklist ${HOME}/.local/share/kxmlgui5/akregator | ||
11 | 12 | ||
12 | include disable-common.inc | 13 | include disable-common.inc |
13 | include disable-devel.inc | 14 | include disable-devel.inc |
@@ -19,9 +20,11 @@ include disable-shell.inc | |||
19 | 20 | ||
20 | mkfile ${HOME}/.config/akregatorrc | 21 | mkfile ${HOME}/.config/akregatorrc |
21 | mkdir ${HOME}/.local/share/akregator | 22 | mkdir ${HOME}/.local/share/akregator |
23 | mkdir ${HOME}/.local/share/kxmlgui5/akregator | ||
22 | whitelist ${HOME}/.config/akregatorrc | 24 | whitelist ${HOME}/.config/akregatorrc |
23 | whitelist ${HOME}/.local/share/akregator | 25 | whitelist ${HOME}/.local/share/akregator |
24 | whitelist ${HOME}/.local/share/kssl | 26 | whitelist ${HOME}/.local/share/kssl |
27 | whitelist ${HOME}/.local/share/kxmlgui5/akregator | ||
25 | include whitelist-common.inc | 28 | include whitelist-common.inc |
26 | include whitelist-var-common.inc | 29 | include whitelist-var-common.inc |
27 | 30 | ||