Skip to content

Commit 2a37d1b

Browse files
committed
Set to correct user
1 parent 2984c76 commit 2a37d1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/v-add-sys-pma-sso

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ apikey=$($BIN/v-generate-api-key);
7676
# copy config dir to /usr/share/phpmyadmin/
7777
cp -f $HESTIA_INSTALL_DIR/phpmyadmin/hestia-sso.php $PMA_INSTALL/hestia-sso.php
7878
chmod 640 $PMA_INSTALL/hestia-sso.php
79+
chown root:www-data $PMA_INSTALL/hestia-sso.php
7980

8081
sed -i "s/%PHPMYADMIN_KEY%/$phpmyadminkey/g" $PMA_INSTALL/hestia-sso.php
8182
sed -i "s/%API_KEY%/$apikey/g" $PMA_INSTALL/hestia-sso.php

0 commit comments

Comments
 (0)