On Tue, 23 Jul 2024 at 00:03:56 +0100, Simon McVittie wrote: > I'll report a separate bug against > ikiwiki-hosting for the autopkgtest regression.
<https://bugs.debian.org/1076751> > if this behaviour change was intentional, what is the recommended > way to configure the 'gitdaemon' user to tell it to trust repositories > below /var/lib/git? For ikiwiki-hosting, the 'ikiwiki-anon' user that runs git-daemon(1) happens to have a home directory, so it is possible to configure its ~/.gitconfig without affecting other users. The least bad version I've found so far is to write [safe] directory=* into /var/lib/ikiwiki-hosting-web/git/.gitconfig (which can be owned by root). I'd prefer a less brute-force version of this, but the first thing I tried, [safe] directory=/var/lib/ikiwiki-hosting-web/git/* didn't seem to be successful. For git-daemon-run, this technique is not available, because the 'gitdaemon' user doesn't have a home directory (its home is /nonexistent) so it does not seem to be possible to configure it without affecting unrelated git clients. Is there a better way that I'm not seeing? Thanks, smcv

