[all-commits] [llvm/llvm-project] efe152: [CMake] Copy folder without permissions
Sebastian Neubauer via All-commits
all-commits at lists.llvm.org
Mon Jul 25 01:48:37 PDT 2022
Author: Sebastian Neubauer <Sebastian.Neubauer at amd.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
[CMake] Copy folder without permissions
Copying the folder keeps the original permissions by default. This
creates problems when the source folder is read-only, e.g. in a
Then, the copied folder in the build directory is read-only as well.
Later on, other files are copied into that directory (in the build
tree), failing when the directory is read-only.
Fix that problem by copying the folder without keeping the original
Follow-up to D130254.
Differential Revision: https://reviews.llvm.org/D130338
More information about the All-commits