BTW: that happened when git was called during the build. But git on my command line (4NT), or even in the MSYS2 shell, works just fine and has no trouble with permissions/ownership.