From 319f2dc8d65fe0264e4eb6006aab024751bb5bd4 Mon Sep 17 00:00:00 2001 From: Kishore96in Date: Thu, 16 Jul 2020 12:53:10 +0530 Subject: 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 --- etc/profile-a-l/kate.profile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc/profile-a-l/kate.profile') diff --git a/etc/profile-a-l/kate.profile b/etc/profile-a-l/kate.profile index 321c4558f..37605dfa9 100644 --- a/etc/profile-a-l/kate.profile +++ b/etc/profile-a-l/kate.profile @@ -15,6 +15,13 @@ noblacklist ${HOME}/.config/kateschemarc noblacklist ${HOME}/.config/katesyntaxhighlightingrc noblacklist ${HOME}/.config/katevirc noblacklist ${HOME}/.local/share/kate +noblacklist ${HOME}/.local/share/kxmlgui5/kate +noblacklist ${HOME}/.local/share/kxmlgui5/katefiletree +noblacklist ${HOME}/.local/share/kxmlgui5/katekonsole +noblacklist ${HOME}/.local/share/kxmlgui5/kateopenheaderplugin +noblacklist ${HOME}/.local/share/kxmlgui5/katepart +noblacklist ${HOME}/.local/share/kxmlgui5/kateproject +noblacklist ${HOME}/.local/share/kxmlgui5/katesearch include disable-common.inc # include disable-devel.inc -- cgit v1.2.3-70-g09d2