Re: [PATCH 12/12] Revert "fetch/clone: detect dubious ownership of local repositories"
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
> This partially reverts f4aa8c8b (fetch/clone: detect dubious
> ownership of local repositories, 2024-04-10) that broke typical
> read-only use cases (e.g. by git-daemon serving fetches and clones)
> where "nobody" who has no write permission serves repositories owned
> by others. The function to die upon seeing dubious ownership is
> still kept, as there are other users of it, but calls to it from the
> generic repository discovery code path, which triggered in cases far
> wider than originally intended (i.e. to stop local clones), have
> been removed.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
I am inclined to propose dropping this step, actually.
cf. https://lore.kernel.org/git/xmqq7cfmaofl.fsf@gitster.g/