diff --git a/install/alternc.install b/install/alternc.install index b9691b0d..f9c8d4c0 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -627,6 +627,7 @@ done # Fix some perms # 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 -d "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true # hook run-parts --arg=end /usr/lib/alternc/install.d diff --git a/jessie/alternc.install b/jessie/alternc.install index 15af4f07..3aff0f1d 100644 --- a/jessie/alternc.install +++ b/jessie/alternc.install @@ -639,6 +639,7 @@ test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data a # hook run-parts --arg=end /usr/lib/alternc/install.d +test -d "/etc/phpmyadmin/config-db.php" && dpkg-statoverride --update --add www-data alterncpanel 0644 "/etc/phpmyadmin/config-db.php" 2>/dev/null || true # Unlock jobs ! unlock_jobs