From 69518c47746e44623935ba42a884955785d8b46b Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Thu, 11 Aug 2022 19:19:42 -0700 Subject: [PATCH] ensure torrent files are world-readable --- nix/home/programs/rtorrent/rtorrent.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/home/programs/rtorrent/rtorrent.rc b/nix/home/programs/rtorrent/rtorrent.rc index 12274bd..f6e28db 100644 --- a/nix/home/programs/rtorrent/rtorrent.rc +++ b/nix/home/programs/rtorrent/rtorrent.rc @@ -20,6 +20,9 @@ ratio.min.set = 100 ratio.max.set = 300 ratio.upload.set = 20M +# To ensure world-readable results +umask = 0000 + # Changing the command triggered when the ratio is reached. # (the default is "d.try_close= ; d.ignore_commands.set=1") method.set = group.seeding.ratio.command, "d.close= ; d.erase="