File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1115,6 +1115,8 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11151115 fi
11161116 wget $vestacp /roundcube/main.inc.php -O /etc/roundcube/main.inc.php
11171117 wget $vestacp /roundcube/db.inc.php -O /etc/roundcube/db.inc.php
1118+ chmod 640 /etc/roundcube/debian-db-roundcube.php
1119+ chown root:www-data /etc/roundcube/debian-db-roundcube.php
11181120 wget $vestacp /roundcube/vesta.php -O \
11191121 /usr/share/roundcube/plugins/password/drivers/vesta.php
11201122 wget $vestacp /roundcube/config.inc.php -O \
@@ -1123,10 +1125,11 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11231125 mysql -e " CREATE DATABASE roundcube"
11241126 mysql -e " GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r '"
11251127 sed -i " s/%password%/$r /g" /etc/roundcube/db.inc.php
1126-
11271128 if [ " $release " = ' 16.04' ]; then
11281129 mv /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
11291130 mv /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php
1131+ chmod 640 /etc/roundcube/debian-db-roundcube.php
1132+ chown root:www-data /etc/roundcube/debian-db-roundcube.php
11301133 fi
11311134
11321135 mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
You can’t perform that action at this time.
0 commit comments