From: Colin Stagner Date: Thu, 18 Jul 2024 04:24:34 GMT Subject: Re: Shared bare repository dubious ownership error after 2.40.1-r0 Message-ID: <984140ad-b2b9-4336-84db-552428071f7e@howdoi.land> In-Reply-To: Mike, On 7/10/24 18:16, Mike Lodispoto wrote: > | $ git pull > | fatal: detected dubious ownership in repository at This appears to be known behavior introduced as a fix for CVE-2024-32004. It appears that the safe.directory restrictions now apply to fetch and clone as well. See the release notes for v2.45.1 [1]. You can fix this by adding the path containing your repositories to the safe.directory configuration parameter as Git recommends. Whether or not you should is another matter—this can expose your devs to attacks from other user accounts. I also have small workgroups that use NFS and other network filesystems to share repositories. Are there any plans to make cloning a local repository safe? Colin References [1]: