File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1402,6 +1402,10 @@ if [ "$mysql" = 'yes' ]; then
14021402 mkdir /usr/share/phpmyadmin/tmp
14031403 chmod 777 /usr/share/phpmyadmin/tmp
14041404
1405+ if [ -e /var/lib/phpmyadmin/blowfish_secret.inc.php ]; then
1406+ chmod 0644 /var/lib/phpmyadmin/blowfish_secret.inc.php
1407+ fi
1408+
14051409 # Clear Up
14061410 rm -fr phpMyAdmin-$pma_v -all-languages
14071411 rm -f phpMyAdmin-$pma_v -all-languages.tar.gz
Original file line number Diff line number Diff line change @@ -1433,6 +1433,10 @@ if [ "$mysql" = 'yes' ]; then
14331433 # Create temporary folder and change permission
14341434 [ ! -d " /usr/share/phpmyadmin/tmp" ] && mkdir /usr/share/phpmyadmin/tmp
14351435 chmod 777 /usr/share/phpmyadmin/tmp
1436+
1437+ if [ -e /var/lib/phpmyadmin/blowfish_secret.inc.php ]; then
1438+ chmod 0644 /var/lib/phpmyadmin/blowfish_secret.inc.php
1439+ fi
14361440
14371441 # Clear Up
14381442 rm -fr phpMyAdmin-$pma_v -all-languages
Original file line number Diff line number Diff line change @@ -168,3 +168,9 @@ for user in $($HESTIA/bin/v-list-sys-users plain); do
168168
169169 chown --silent --no-dereference :www-data /home/$user /web/* /public_* html
170170done
171+
172+ # Fix phpMyAdmin blowfish_secret error message due to incorrect permissions
173+ if [ -e /var/lib/phpmyadmin/blowfish_secret.inc.php ]; then
174+ echo " (*) Updating phpMyAdmin permissions..."
175+ chmod 0644 /var/lib/phpmyadmin/blowfish_secret.inc.php
176+ fi
You can’t perform that action at this time.
0 commit comments