From: Alisdair MacLeod Subject: Packfile permissions To: gameoftrees@openbsd.org Date: Wed, 28 Oct 2020 08:48:59 +0000 I've just been trying out gotweb and noticed that after a `got fetch` the repository is no longer accessible, with the message: Error: open: /got/public/repo/objects/pack/pack-.idx: Permission denied Diving in it looks like the packfiles are created with mktemp so have the mode 0600 set rather than GOT_DEFAULT_FILE_MODE and so are not readable by the httpd server user. Is this on purpose? If not I would be happy to put together a patch to apply GOT_DEFAULT_FILE_MODE, probably just after the rename from tmppackpath/tmpidxpath to packpath/idxpath in lib/fetch.c?