Skip to content

Commit 7d84ff7

Browse files
Merge pull request hestiacp#777 from dpeca/patch-5
Roundcube log permission fix
2 parents 9773007 + e2da4fb commit 7d84ff7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install/vst-install-debian.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,14 @@ check_result $? "can't create admin user"
11291129
$VESTA/bin/v-change-user-shell admin bash
11301130
$VESTA/bin/v-change-user-language admin $lang
11311131

1132+
# RoundCube permissions fix
1133+
if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
1134+
if [ ! -d "/var/log/roundcube" ]; then
1135+
mkdir /var/log/roundcube
1136+
fi
1137+
chown admin:admin /var/log/roundcube
1138+
fi
1139+
11321140
# Configuring system ips
11331141
$VESTA/bin/v-update-sys-ip
11341142

0 commit comments

Comments
 (0)