Re: [PATCH v2 2/3] Documentation: explain how safe.directory works when running under sudo
- From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
- Date
- Apr 30, 2022, 14:15 UTC
- Message-ID
- <20220430141516.u5yeznmmbxwaki44@carlos-mbp.lan>
- In-Reply-To
- <YmzUirQlDR1942rH@debian.me>
On Sat, Apr 30, 2022 at 01:17:46PM +0700, Bagas Sanjaya wrote:
Show 10 quoted lines
> On Thu, Apr 28, 2022 at 03:58:51AM -0700, Carlo Marcelo Arenas Belón wrote: > > In a previous patch, the behavior of git was changed so it will be able > > to find the "effective uid" that is required when git was invoked with > > sudo to root, for example the internal calls made to git when calling > > the following in git's own repository: > > > > $ sudo make install > > > > That is building Git, right?
Technically, installing it. The full report is more informative of what the specific impact is, which I obviously forgot to link to:
https://lore.kernel.org/git/20220412180510.GA2173@szeder.dev/
Another example of it (which started this whole regression fix) is available in:
https://lore.kernel.org/git/4ef9287b-6260-9538-7c89-cffb611520ee@maurel.de/
Carlo