summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-20 10:09:12 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-20 10:09:12 +0200
commitf9bc4ad7db492d2f7d9a0f821822b1757a9c6f2d (patch)
tree87d1655edf326b67010b74c70bac30de36d10575
parenta318e2f16554b35d07e5cc7cbe9827125772851a (diff)
phpMyAdmin: restrict access to /etc/phpMyAdmin dir
-rw-r--r--phpMyAdmin.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpMyAdmin.spec b/phpMyAdmin.spec
index 5f7ab4d..c4add0a 100644
--- a/phpMyAdmin.spec
+++ b/phpMyAdmin.spec
@@ -176,7 +176,7 @@ sed -i -e "/'blowfish_secret'/s/MUSTBECHANGEDONINSTALL/$RANDOM$RANDOM$RANDOM$RAN
%doc ChangeLog README CONTRIBUTING.md
%doc doc/html/ examples/
%{_datadir}/%{name}
-%dir %{_sysconfdir}/%{name}
+%attr(0750,root,apache) %dir %{_sysconfdir}/%{name}
%config(noreplace) %attr(0640,root,apache) %{_sysconfdir}/%{name}/config.inc.php
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
%dir %attr(0750,apache,apache) %{_localstatedir}/lib/%{name}/upload