summaryrefslogtreecommitdiffstats
path: root/systemtap.spec
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2010-03-09 11:33:59 -0600
committerDavid Smith <dsmith@redhat.com>2010-03-09 11:33:59 -0600
commit4f61df98e2a4a6be4ec5c1d64b04f8f77d369aa0 (patch)
treec6bf05076825bb9ba58b43dcc427ac1201670400 /systemtap.spec
parenta69dded996e6fa1eebd111e3dfe69efcea927baf (diff)
downloadsystemtap-steved-4f61df98e2a4a6be4ec5c1d64b04f8f77d369aa0.tar.gz
systemtap-steved-4f61df98e2a4a6be4ec5c1d64b04f8f77d369aa0.tar.xz
systemtap-steved-4f61df98e2a4a6be4ec5c1d64b04f8f77d369aa0.zip
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.
Diffstat (limited to 'systemtap.spec')
-rw-r--r--systemtap.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/systemtap.spec b/systemtap.spec
index c4b694ed..f7e14017 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