CMake Error 'Operation not permitted' in new WSL Ubuntu session

Here are my complete logs from Clion

CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:193 (configure_file):
  Operation not permitted
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- The C compiler identification is GNU 9.4.0
CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake:226 (configure_file):
  Operation not permitted
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- The CXX compiler identification is GNU 9.4.0
CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:226 (configure_file):
  Operation not permitted
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:85 (configure_file):
  Operation not permitted
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:78 (configure_file):
  Operation not permitted
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
See also "/mnt/c/Users/Altay/AppData/Local/Temp/cmake_check_environment/_build1400723743840371038/CMakeFiles/CMakeOutput.log".
See also "/mnt/c/Users/Altay/AppData/Local/Temp/cmake_check_environment/_build1400723743840371038/CMakeFiles/CMakeError.log".

Error code: 1