]> Sergey Matveev's repositories - public-inbox.git/commit
lei: umask(077) before opening errors.log
authorEric Wong <e@80x24.org>
Tue, 21 Sep 2021 09:29:45 +0000 (09:29 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Sep 2021 19:18:37 +0000 (19:18 +0000)
commit6f1cf49c96b0e6d628bcd90487ba2e0820351bba
treef16c49d8deb0bf01819c3663a7718b2c12a8b145
parent5c7d3f916da9a9c93419282e943a7d45c53b9c86
lei: umask(077) before opening errors.log

There's a chance some sensitive information (e.g. folder names)
can end up in errors.log, though $XDG_RUNTIME_DIR or
/tmp/lei-$UID/ will have 0700 permissions, anyways.
lib/PublicInbox/LEI.pm