Skip to content

phpmyadmin, bad file privileges

There is a problem accessing phpmyadmin in h1 hestia:

phpmyadmin home error

It's because of etc/phpmyadmin/config.inc.php access rights. Temporarily (and dirtily) solved extending privileges (too much?):

oot@h1:/etc/phpmyadmin# ls -la
total 16
drwxr-xr-x   3 root hestiamail 4096 jul 31 10:29 .
drwxr-xr-x 107 root root       4096 ago  7 13:49 ..
drwxr-x---   2 root hestiamail 4096 jul 31 10:29 conf.d
-rw-r-----   1 root hestiamail  980 jul 31 10:29 config.inc.php
root@h1:/etc/phpmyadmin# chmod o+r config.inc.php 
root@h1:/etc/phpmyadmin# ls -la
total 16
drwxr-xr-x   3 root hestiamail 4096 jul 31 10:29 .
drwxr-xr-x 107 root root       4096 ago  7 13:49 ..
drwxr-x---   2 root hestiamail 4096 jul 31 10:29 conf.d
-rw-r--r--   1 root hestiamail  980 jul 31 10:29 config.inc.php