mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-20 19:55:10 +08:00

CMake directory removal code cannot remove content from read-only directories (a separate bug which will be fixed). Therefore we should not create them in the StringFileTest. This tweaks the file(COPY) call to test not giving OWNER_WRITE to files rather than directories.