]> Sergey Matveev's repositories - public-inbox.git/commit
lei add-external --mirror: respect client umask
authorEric Wong <e@80x24.org>
Thu, 14 Oct 2021 04:32:54 +0000 (04:32 +0000)
committerEric Wong <e@80x24.org>
Thu, 14 Oct 2021 09:07:16 +0000 (09:07 +0000)
commiteb0e4dd09d540eb29c71fe1cc92161a13a0b608a
tree1051f61a3db1b62dd99d21e67d6e6be00c31611e
parent896c59c925e61caf5d985e8531a35825eeecc99d
lei add-external --mirror: respect client umask

While lei is intended for non-public mail and runs umask(077)
by default, externals are one area which can safely defer to
the user's umask.

Instead of sending it unconditionally with every command, only
have lei-daemon request it when necessary.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiMirror.pm
script/lei