git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Ondrej PohorelskyNext: Junio C Hamano
Message 2 of 4 in “git-daemon doesn't work as expected in v2.45.1 and friends”
  1. Ondrej PohorelskyMay 20, 2024
  2. Konstantin RyabitsevMay 21, 2024
  3. Junio C HamanoMay 21, 2024
  4. Junio C HamanoMay 21, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.