Skip to content

SystemTools: Avoid macOS copyfile semantic differences as root

Since !256 (merged), SystemTools::CloneFileContent has copied extra file metadata such as ownership information when running as root. Skip the optimization when the process is running as root.

Issue: cmake/cmake#24577 (closed)

Merge request reports

Loading