From 7f1906dba7ba7c33cadb5af4a08f48cb47370b1d Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 11 Oct 2022 17:21:21 -0300 Subject: ktorrent.profile: fix mkfile without mkdir firejail fails to create the following files: * ~/.kde/share/config/ktorrentrc * ~/.kde4/share/config/ktorrentrc Because it does not create the preceding directories beforehand: * ~/.kde/share/config * ~/.kde4/share/config Relates to #5414. --- etc/profile-a-l/ktorrent.profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/profile-a-l/ktorrent.profile b/etc/profile-a-l/ktorrent.profile index 949189a1d..f34d1ccec 100644 --- a/etc/profile-a-l/ktorrent.profile +++ b/etc/profile-a-l/ktorrent.profile @@ -22,7 +22,9 @@ include disable-programs.inc include disable-shell.inc mkdir ${HOME}/.kde/share/apps/ktorrent +mkdir ${HOME}/.kde/share/config mkdir ${HOME}/.kde4/share/apps/ktorrent +mkdir ${HOME}/.kde4/share/config mkdir ${HOME}/.local/share/ktorrent mkdir ${HOME}/.local/share/kxmlgui5/ktorrent mkfile ${HOME}/.config/ktorrentrc -- cgit v1.2.3-70-g09d2 From 3ef030257556f78cc55bc226999a7162e597948c Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 11 Oct 2022 17:18:43 -0300 Subject: ktorrent.profile: stop creating legacy KDE paths Leave them commented. --- etc/profile-a-l/ktorrent.profile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/etc/profile-a-l/ktorrent.profile b/etc/profile-a-l/ktorrent.profile index f34d1ccec..702bf7295 100644 --- a/etc/profile-a-l/ktorrent.profile +++ b/etc/profile-a-l/ktorrent.profile @@ -21,15 +21,17 @@ include disable-interpreters.inc include disable-programs.inc include disable-shell.inc -mkdir ${HOME}/.kde/share/apps/ktorrent -mkdir ${HOME}/.kde/share/config -mkdir ${HOME}/.kde4/share/apps/ktorrent -mkdir ${HOME}/.kde4/share/config +# Legacy paths +#mkdir ${HOME}/.kde/share/apps/ktorrent +#mkdir ${HOME}/.kde/share/config +#mkdir ${HOME}/.kde4/share/apps/ktorrent +#mkdir ${HOME}/.kde4/share/config +#mkfile ${HOME}/.kde/share/config/ktorrentrc +#mkfile ${HOME}/.kde4/share/config/ktorrentrc + mkdir ${HOME}/.local/share/ktorrent mkdir ${HOME}/.local/share/kxmlgui5/ktorrent mkfile ${HOME}/.config/ktorrentrc -mkfile ${HOME}/.kde/share/config/ktorrentrc -mkfile ${HOME}/.kde4/share/config/ktorrentrc whitelist ${DOWNLOADS} whitelist ${HOME}/.config/ktorrentrc whitelist ${HOME}/.kde/share/apps/ktorrent -- cgit v1.2.3-70-g09d2 From 72b662fa68efd730c8f9d2f893eb6ba5e34bb5a8 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 22 Nov 2022 03:02:46 -0300 Subject: ktorrent.profile: add missing private-bin paths Package-provided binaries: $ pacman -Q ktorrent ktorrent 22.08.3-1.2 $ pacman -Qlq ktorrent | grep bin/. /usr/bin/ktmagnetdownloader /usr/bin/ktorrent /usr/bin/ktupnptest Environment: Artix Linux --- etc/profile-a-l/ktorrent.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile-a-l/ktorrent.profile b/etc/profile-a-l/ktorrent.profile index 702bf7295..cb06dd38f 100644 --- a/etc/profile-a-l/ktorrent.profile +++ b/etc/profile-a-l/ktorrent.profile @@ -60,7 +60,7 @@ novideo protocol unix,inet,inet6,netlink seccomp -private-bin kbuildsycoca4,kdeinit4,ktorrent +private-bin kbuildsycoca4,kdeinit4,ktmagnetdownloader,ktorrent,ktupnptest private-dev # private-lib - problems on Arch private-tmp -- cgit v1.2.3-70-g09d2