From f9bc4ad7db492d2f7d9a0f821822b1757a9c6f2d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Aug 2014 10:09:12 +0200 Subject: phpMyAdmin: restrict access to /etc/phpMyAdmin dir --- phpMyAdmin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit