Re: How to disable safe directories?
- From
- Harald Dunkel <harald.dunkel@aixigo.com>
- Date
- May 21, 2024, 10:42 UTC
- Message-ID
- <3e4a7071-60b0-4f7a-b347-d584d5eb076e@aixigo.com>
- In-Reply-To
- <CAH8yC8mPP_2jv8HDBdMxWv6TbiLXeDnD=KmNRMbno2bHQtfH1A@mail.gmail.com>
On 2024-05-21 10:39:32, Jeffrey Walton wrote:
Show 11 quoted lines
> Hi Everyone, > > I've got a big DoS on my hands since safe directories landed on > Fedora. I think this commit is the one responsible, but I may be > mistaken: <https://github.com/git/git/commit/8959555cee7e>. > > At this point I've wasted enough time on them. Now I would like to > disable them completely. > > How do I disable the safe directory changes? >
That is actually pretty easy: Kick out the commit. I would suggest to turn the die() into a warning(), though, giving people time to adopt this restriction.
Regards
Harri