On Thu, Oct 31, 2024 at 08:15:24AM -0400, Michael Orlitzky wrote: > On 2024-10-31 05:38:00, Caleb White wrote: > > > > The dubious ownership check simply reports that the directory is owned by > > someone other than the user running the command, with no special handling > > for the root user. While the error might not make the most sense in this > > context, I'm not sure that it's worth special-casing the root user > > (really the user with id = 0 as it might not be named `root`) in the > > implementation. > > > > Why would you initialize a repository as `root` in the first place? > > To avoid the dubious ownership warning, obviously :) If you want to avoid the warning entirely, you can set 'safe.directory' to "*" at the global level, and that will opt-out of the check entirely. Of course, you should consult that portion of the git-config(1) manual page to understand the implications of doing so, but it is something that Git supports doing. Thanks, Taylor