[GH-ISSUE #1330] Included ktorrent profile whitelists wrong config files #911

Closed
opened 2026-05-05 07:08:02 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Kishore96in on GitHub (Jun 9, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1330

The included ktorrent profile whitelists the wrong config files (as shown in the below lines)

mkdir ~/.kde/share/config/ktorrentrc
whitelist ~/.kde/share/config/ktorrentrc
mkdir ~/.kde4/share/config/ktorrentrc
whitelist ~/.kde4/share/config/ktorrentrc
mkdir ~/.kde/share/apps/ktorrent
whitelist ~/.kde/share/apps/ktorrent
mkdir ~/.kde4/share/apps/ktorrent
whitelist ~/.kde4/share/apps/ktorrent
whitelist  ${DOWNLOADS}

Since the port to kf5, ktorrent saves config in .config, and some data in .local/share. The following lines whitelist the required directories.

mkfile ~/.config/ktorrentrc
whitelist ~/.config/ktorrentrc
mkdir ~/.local/share/ktorrent
whitelist ~/.local/share/ktorrent
whitelist ${DOWNLOADS}
Originally created by @Kishore96in on GitHub (Jun 9, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1330 The included ktorrent profile whitelists the wrong config files (as shown in the below lines) ``` mkdir ~/.kde/share/config/ktorrentrc whitelist ~/.kde/share/config/ktorrentrc mkdir ~/.kde4/share/config/ktorrentrc whitelist ~/.kde4/share/config/ktorrentrc mkdir ~/.kde/share/apps/ktorrent whitelist ~/.kde/share/apps/ktorrent mkdir ~/.kde4/share/apps/ktorrent whitelist ~/.kde4/share/apps/ktorrent whitelist ${DOWNLOADS} ``` Since the port to kf5, ktorrent saves config in .config, and some data in .local/share. The following lines whitelist the required directories. ``` mkfile ~/.config/ktorrentrc whitelist ~/.config/ktorrentrc mkdir ~/.local/share/ktorrent whitelist ~/.local/share/ktorrent whitelist ${DOWNLOADS} ```
gitea-mirror 2026-05-05 07:08:02 -06:00
Author
Owner

@netblue30 commented on GitHub (Jun 9, 2017):

Thanks, fixed on mainline.

<!-- gh-comment-id:307369397 --> @netblue30 commented on GitHub (Jun 9, 2017): Thanks, fixed on mainline.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#911
No description provided.