Re: How to disable safe directories?
- From
- Jeffrey Walton <noloader@gmail.com>
- Date
- May 21, 2024, 14:40 UTC
- Message-ID
- <CAH8yC8nqRSmxHp+9fdPNh29eLv4JZ2+NFnYtOejhf-F+n7jkCw@mail.gmail.com>
- In-Reply-To
- <d71c7dff-46a7-4ac8-a8c7-ab4985458071@aixigo.com>
On Tue, May 21, 2024 at 10:25 AM Harald Dunkel <harald.dunkel@aixigo.com> wrote:
Show 19 quoted lines
> > On 2024-05-21 12:45:18, Jeffrey Walton wrote: > > > > Thanks Harri. > > > > Would that be something like safe_directories.enabled = false? If not, > > can you point to a setting? > > > > It is possible to disable this feature globally using something > like > > git config --system --add safe.directory /somepath/.git > > Some say even > > git config --system --add safe.directory '*' > > works, but I haven't tried that.
Thanks Harri.
Yeah, that did not work for me, either.
I've been through directory permissions on the workstations and servers, and the SELinux contexts on the server. I cannot find anything wrong with them. Do you know how to have git tell us what the actual problem is? `git -v pull` is not providing more information, like what the actual problem is (it just barfs).
Thanks again.
Jeff