From 3907cea1dd0314f4900b04fef4bfe03276f509eb Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 21 Apr 2021 10:42:13 -0700 Subject: [PATCH] set perms on phpMyAdmin --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 19f5489..1eb9f23 100755 --- a/install.sh +++ b/install.sh @@ -174,7 +174,8 @@ echo "\$cfg['SaveDir'] = '';" >> phpMyAdmin-5.1.0-all-languages/config.inc.php echo "\$cfg['TempDir'] = '/tmp';" >> phpMyAdmin-5.1.0-all-languages/config.inc.php echo "\$cfg['PmaNoRelation_DisableWarning'] = true;" >> phpMyAdmin-5.1.0-all-languages/config.inc.php mv phpMyAdmin-5.1.0-all-languages /srv/www/html/phpMyAdmin -## chown -R /srv/www/html/phpMyAdmin ??? +find /srv/www/html/phpMyAdmin -type d -exec chmod 755 {} + +find /srv/www/html/phpMyAdmin -type f -exec chmod 644 {} +