Re: git-daemon doesn't work as expected in v2.45.1 and friends
- From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
- Date
- May 21, 2024, 13:27 UTC
- Message-ID
- <20240521-evasive-mindful-stoat-c58b31@meerkat>
- In-Reply-To
- <CA+B51BGonS2DDTBQ2RsipW4Cyg5pRv0U71RAN9M1pcPjACtJ4A@mail.gmail.com>
On Mon, May 20, 2024 at 10:21:23AM GMT, Ondrej Pohorelsky wrote:
> Is there a way to make git-daemon hosted repositories safe to clone, > without specifying safe.directory in git config? AFAIK this is widely > used feature of Git not only by the end users, but also quite a lot of > tests rely on it.
I would say more -- this is very broken and needs to be rolled back. Running git-daemon as a different user is the recommended setup for read-only deployments.
-K