<div dir="ltr">I believeĀ theĀ <b>safe.directory </b>config option is what we'll want to configure to alleviate this:<div><br></div><div><a href="https://git-scm.com/docs/git-config#Documentation/git-config.txt-safedirectory">https://git-scm.com/docs/git-config#Documentation/git-config.txt-safedirectory</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 16, 2022 at 2:02 PM Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com">ken.cunningham.webuse@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">the new git is causing headaches for me too.<br>
<br>
It delivers errors based on the ownership of directories above it, to address this:<br>
<br>
<a href="https://github.blog/2022-04-12-git-security-vulnerability-announced/" rel="noreferrer" target="_blank">https://github.blog/2022-04-12-git-security-vulnerability-announced/</a><br>
<br>
which means that any kind of git work in the macports trees (owned by macports) even as root now causes errors unless folder by folder exceptions are made. Yuk.<br>
<br>
I rolled back to the last git before this fix for the time being.<br>
<br>
Ken</blockquote></div>