rpm: The main binary should be owner by root

The system user should not be allowed to modify the ccmc binary.
This commit is contained in:
Michael Panzlaff
2026-04-08 16:46:19 +02:00
parent 93cd397b79
commit 86da3c15f7

View File

@@ -54,7 +54,7 @@ install -Dpm 0644 scripts/%{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.c
%files
# Binary
%attr(-,clustercockpit,clustercockpit) %{_bindir}/%{name}
%attr(-,root,root) %{_bindir}/%{name}
# Config
%dir %{_sysconfdir}/%{name}
%attr(0600,clustercockpit,clustercockpit) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.json