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 @@ -1113,6 +1113,8 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11131113 fi
11141114 wget $vestacp /roundcube/main.inc.php -O /etc/roundcube/main.inc.php
11151115 wget $vestacp /roundcube/db.inc.php -O /etc/roundcube/db.inc.php
1116+ chmod 640 /etc/roundcube/debian-db-roundcube.php
1117+ chown root:www-data /etc/roundcube/debian-db-roundcube.php
11161118 wget $vestacp /roundcube/vesta.php -O \
11171119 /usr/share/roundcube/plugins/password/drivers/vesta.php
11181120 wget $vestacp /roundcube/config.inc.php -O \
@@ -1121,10 +1123,11 @@ if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
11211123 mysql -e " CREATE DATABASE roundcube"
11221124 mysql -e " GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r '"
11231125 sed -i " s/%password%/$r /g" /etc/roundcube/db.inc.php
1124-
11251126 if [ " $release " = ' 16.04' ]; then
11261127 mv /etc/roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
11271128 mv /etc/roundcube/main.inc.php /etc/roundcube/config.inc.php
1129+ chmod 640 /etc/roundcube/debian-db-roundcube.php
1130+ chown root:www-data /etc/roundcube/debian-db-roundcube.php
11281131 fi
11291132
11301133 mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
You can’t perform that action at this time.
0 commit comments