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.
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:57root
, via thesudo
command. Readman sudo
and do something likesudo cmake install
. – waltinator Jan 20 '24 at 21:01Permission denied
andOperation 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