mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-04-16 04:47:30 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user