RPM: Change owner to root except for /var

Closes #144
Patch by Sasatani Takenobu; reviewed by Stefan Podkowinski for CASSANDRA-13782
This commit is contained in:
sasayabaku 2017-08-29 14:20:52 +09:00 committed by Stefan Podkowinski
parent 5469f21204
commit fc38c3835f
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ exit 0
%attr(755,root,root) /%{_sysconfdir}/rc.d/init.d/%{username}
%attr(755,root,root) /%{_sysconfdir}/default/%{username}
%attr(755,root,root) /%{_sysconfdir}/security/limits.d/%{username}.conf
%attr(755,%{username},%{username}) /usr/share/%{username}*
%attr(755,%{username},%{username}) %config(noreplace) /%{_sysconfdir}/%{username}
%attr(755,root,root) /usr/share/%{username}*
%attr(755,root,root) %config(noreplace) /%{_sysconfdir}/%{username}
%attr(755,%{username},%{username}) %config(noreplace) /var/lib/%{username}/*
%attr(755,%{username},%{username}) /var/log/%{username}*
%attr(755,%{username},%{username}) /var/run/%{username}*