0

Install the project...

-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /usr/local/bin/clhep-config
CMake Error at cmake_install.cmake:41 (file):
  file INSTALL cannot set permissions on "/usr/local/bin/clhep-config":
  Operation not permitted.
waltinator
  • 36,399
  • Did you run the install part with root permissions, i.e. sudo make install? If not, that can't work: Your normal user account does not have permissions to write to /usr/local/bin. – HuHa Jan 20 '24 at 20:57
  • The install step (the command you omitted) is usually run as root, via the sudo command. Read man sudo and do something like sudo cmake install. – waltinator Jan 20 '24 at 21:01
  • Permission denied and Operation not permitted are different errors - the latter is more likely the result of filesystem mount options or extended attributes (chattr) than simple file permissions imho – steeldriver Jan 27 '24 at 00:46

0 Answers0