Solve #139 : Allow standard phpmyadin connection on alternc-sql path
* Panel is run as alterncpanel and phpmyadmin configuration must be readable by this user
This commit is contained in:
parent
7fcd2e359b
commit
46635251ef
|
@ -627,6 +627,7 @@ done
|
||||||
# Fix some perms
|
# Fix some perms
|
||||||
# Fix phpmyadmin import trac#1557
|
# 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 "/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
|
# hook
|
||||||
run-parts --arg=end /usr/lib/alternc/install.d
|
run-parts --arg=end /usr/lib/alternc/install.d
|
||||||
|
|
|
@ -639,6 +639,7 @@ test -d "/var/lib/phpmyadmin/tmp" && dpkg-statoverride --update --add www-data a
|
||||||
|
|
||||||
# hook
|
# hook
|
||||||
run-parts --arg=end /usr/lib/alternc/install.d
|
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 !
|
||||||
unlock_jobs
|
unlock_jobs
|
||||||
|
|
Loading…
Reference in New Issue