mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-04-18 13:57:31 +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
|
%files
|
||||||
# Binary
|
# Binary
|
||||||
%attr(-,clustercockpit,clustercockpit) %{_bindir}/%{name}
|
%attr(-,root,root) %{_bindir}/%{name}
|
||||||
# Config
|
# Config
|
||||||
%dir %{_sysconfdir}/%{name}
|
%dir %{_sysconfdir}/%{name}
|
||||||
%attr(0600,clustercockpit,clustercockpit) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.json
|
%attr(0600,clustercockpit,clustercockpit) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.json
|
||||||
|
|||||||
Reference in New Issue
Block a user