Use root as default user and group to prevent issues

refs #5818
This commit is contained in:
Tim Hardeck 2014-07-03 17:59:02 +02:00 committed by Gunnar Beutner
parent f57884ee2a
commit c8db76ad6e
1 changed files with 2 additions and 2 deletions

View File

@ -466,9 +466,9 @@ exit 0
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog %doc COPYING COPYING.Exceptions README NEWS AUTHORS ChangeLog
%if 0%{?use_systemd} %if 0%{?use_systemd}
%attr(644,-,0) %{_unitdir}/%{name}.service %attr(644,root,root) %{_unitdir}/%{name}.service
%else %else
%attr(755,-,-) %{_sysconfdir}/init.d/%{name} %attr(755,root,root) %{_sysconfdir}/init.d/%{name}
%endif %endif
%if "%{_vendor}" == "suse" %if "%{_vendor}" == "suse"
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}