"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotd/gotadmin use 0444 for pack/idx
To:
Stefan Sperling <stsp@stsp.name>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 01 Feb 2023 14:42:04 +0100

Download raw body.

Thread
On 2023/02/01 13:44:31 +0100, Stefan Sperling <stsp@stsp.name> wrote:
> I am wondering if we should allow the current umask to strip the r bits
> for group and others, such that someone running 'gotadmin pack' doesn't
> accidentally create world-readable files. But that is a separate issue.

i was wondering the same.  however i think this is a smallest issue
with gotadmin / gotd since one only needs to change the permissions on
the top-level directory to make packs, loose objects, references etc
readable only by the user / group.

Not to say that we can't use apply_umask there too.