Comment 2 for bug 1970260

Revision history for this message
Ray Link (rlink) wrote :

Another subsequent commit missing from the Ubuntu backport of the fix is one that adds the option to opt-out of safe directory checking by setting the value of "safe.directory" to "*".

The fix as included in Ubuntu introduces a host of regressions for users/sites with large numbers of intentionally shared repositories, repositories in network filesystems where the numeric owner id on a file/directory is not indicative of who actually has access to the repository, or sites where repositories are accessed from within a container where numeric uids differ between the host and the container.

Upstream commit 0f85c4a30b072a26d74af8bbf63cc8f6a5dfc1b8 which introduces the opt-out mechanism to revert the regression is attached.