I need to add a file to my project package to perform network configuration using NetworkManager (RHEL). The requirements for this file are that it be owned by root, not writable by group/other, and executable.
I know I can set the permissions with the
install command, but how do I change owner? If I were writing the spec file, this would be a simple
%attr(755, root, root) command, but CPack doesn’t seem to (obviously) support that.
Am I missing something?