From f3207ec2f15c4ad7055c3c9bdc52bb103dc2f630 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Tue, 14 May 2019 12:15:23 -0400 Subject: [PATCH] Override owner and group for phpmyadmin lib files Refs #335 --- install/alternc.install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/alternc.install b/install/alternc.install index 1e980597..b152fdbe 100755 --- a/install/alternc.install +++ b/install/alternc.install @@ -714,6 +714,8 @@ done # Fix phpmyadmin import trac#1557 test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data alterncpanel 0775 "/var/lib/phpmyadmin/tmp" 2>/dev/null || true test -f "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true +test -f "/var/lib/phpmyadmin/blowfish_secret.inc.php" && dpkg-statoverride --update --add www-data alterncpanel 0660 "/var/lib/phpmyadmin/blowfish_secret.inc.php" 2> /dev/null || true +test -f "/var/lib/phpmyadmin/config.inc.php" && dpkg-statoverride --update --add www-data alterncpanel 0660 "/var/lib/phpmyadmin/config.inc.php" 2> /dev/null || true # hook run-parts --arg=end /usr/lib/alternc/install.d