]> sourceware.org Git - systemtap.git/commitdiff
Improved PR 11309 by fixing directory and file permissions.
authorDavid Smith <dsmith@redhat.com>
Tue, 9 Mar 2010 17:33:59 +0000 (11:33 -0600)
committerDavid Smith <dsmith@redhat.com>
Tue, 9 Mar 2010 17:33:59 +0000 (11:33 -0600)
* systemtap.spec: Fixed directory and file permissions on
  /usr/share/systemtap/runtime/uprobes and /var/log/stap-server.

systemtap.spec

index c4b694ed830c2a91d07491033d43190c73c1b2de..f7e14017a26b7b5a9d94729a4cf412a1b115fa85 100644 (file)
@@ -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
This page took 0.805675 seconds and 5 git commands to generate.