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-m-z | |
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-m-z')
-rw-r--r-- | etc/profile-m-z/okular.profile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/profile-m-z/okular.profile b/etc/profile-m-z/okular.profile index 2447c9603..36723ca29 100644 --- a/etc/profile-m-z/okular.profile +++ b/etc/profile-m-z/okular.profile | |||
@@ -15,6 +15,7 @@ noblacklist ${HOME}/.kde/share/config/okularrc | |||
15 | noblacklist ${HOME}/.kde4/share/apps/okular | 15 | noblacklist ${HOME}/.kde4/share/apps/okular |
16 | noblacklist ${HOME}/.kde4/share/config/okularpartrc | 16 | noblacklist ${HOME}/.kde4/share/config/okularpartrc |
17 | noblacklist ${HOME}/.kde4/share/config/okularrc | 17 | noblacklist ${HOME}/.kde4/share/config/okularrc |
18 | noblacklist ${HOME}/.local/share/kxmlgui5/okular | ||
18 | noblacklist ${HOME}/.local/share/okular | 19 | noblacklist ${HOME}/.local/share/okular |
19 | noblacklist ${DOCUMENTS} | 20 | noblacklist ${DOCUMENTS} |
20 | 21 | ||