qbt: restrict permissions around TempPath

This commit is contained in:
Simon Gardling 2025-08-25 11:13:27 -04:00
parent a62e71b99c
commit 32e1f6771a
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -200,7 +200,7 @@
systemd.tmpfiles.rules = [
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.SavePath} 0750 ${config.services.qbittorrent.user} ${service_configs.media_group}"
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath} 0750 ${config.services.qbittorrent.user} ${service_configs.media_group}"
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath} 0700 ${config.services.qbittorrent.user} ${config.services.qbittorrent.group}"
"d ${config.services.qbittorrent.profileDir} 0700 ${config.services.qbittorrent.user} ${config.services.qbittorrent.group}"
];