Skip to content
Snippets Groups Projects
Commit 51272e80 authored by Brad King's avatar Brad King
Browse files

SystemTools: Avoid macOS copyfile semantic differences as root

Since commit 0969597d (SystemTools: add a clonefile optimization on
macOS, 2022-06-03), `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
parent ea806689
No related branches found
No related tags found
1 merge request!281SystemTools: Avoid macOS copyfile semantic differences as root
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment