From 201cb8d2036e943009addefa6c0ae1785b942abc Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 9 Jun 2017 08:02:36 -0400 Subject: ktorrent profile fix --- etc/disable-programs.inc | 2 ++ etc/ktorrent.profile | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index bac43ba7e..41889cc5f 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc @@ -106,6 +106,7 @@ blacklist ${HOME}/.config/katesyntaxhighlightingrc blacklist ${HOME}/.config/katevirc blacklist ${HOME}/.config/kdeconnect blacklist ${HOME}/.config/knotesrc +blacklist ${HOME}/.config/ktorrentrc blacklist ${HOME}/.config/leafpad blacklist ${HOME}/.config/libreoffice blacklist ${HOME}/.config/lximage-qt @@ -270,6 +271,7 @@ blacklist ${HOME}/.local/share/gnome-chess blacklist ${HOME}/.local/share/gnome-music blacklist ${HOME}/.local/share/gnome-photos blacklist ${HOME}/.local/share/kate +blacklist ${HOME}/.local/share/ktorrentrc blacklist ${HOME}/.local/share/lollypop blacklist ${HOME}/.local/share/meld blacklist ${HOME}/.local/share/multimc5 diff --git a/etc/ktorrent.profile b/etc/ktorrent.profile index 5b7e5e667..59c2827cd 100644 --- a/etc/ktorrent.profile +++ b/etc/ktorrent.profile @@ -8,6 +8,8 @@ include /etc/firejail/ktorrent.local ################################ # Generic GUI application profile ################################ +noblacklist ~/.config/ktorrentrc +noblacklist ~/.local/share/ktorrent noblacklist ~/.kde/share/config/ktorrentrc noblacklist ~/.kde4/share/config/ktorrentrc noblacklist ~/.kde/share/apps/ktorrent @@ -16,7 +18,10 @@ include /etc/firejail/disable-common.inc include /etc/firejail/disable-programs.inc include /etc/firejail/disable-passwdmgr.inc - +mkfile ~/.config/ktorrentrc +whitelist ~/.config/ktorrentrc +mkdir ~/.local/share/ktorrent +whitelist ~/.local/share/ktorrent mkdir ~/.kde/share/config/ktorrentrc whitelist ~/.kde/share/config/ktorrentrc mkdir ~/.kde4/share/config/ktorrentrc -- cgit v1.2.3-54-g00ecf