From: David Smith Date: Tue, 9 Mar 2010 17:33:59 +0000 (-0600) Subject: Improved PR 11309 by fixing directory and file permissions. X-Git-Tag: release-1.2~115 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=4f61df98e2a4a6be4ec5c1d64b04f8f77d369aa0;p=systemtap.git Improved PR 11309 by fixing directory and file permissions. * systemtap.spec: Fixed directory and file permissions on /usr/share/systemtap/runtime/uprobes and /var/log/stap-server. --- diff --git a/systemtap.spec b/systemtap.spec index c4b694ed8..f7e14017a 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -424,7 +424,7 @@ exit 0 %endif # Make sure that the uprobes module can be built by root and by the server -%attr(0775,root,stap-server) %{_datadir}/%{name}/runtime/uprobes +%dir %attr(0775,root,stap-server) %{_datadir}/%{name}/runtime/uprobes %files runtime %defattr(-,root,root) @@ -470,7 +470,8 @@ exit 0 %dir %{_sysconfdir}/stap-server %dir %{_sysconfdir}/stap-server/conf.d %config(noreplace) %{_sysconfdir}/sysconfig/stap-server -%{_localstatedir}/log/stap-server/log +%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server +%attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log %doc initscript/README.stap-server %files sdt-devel