Skip to content

Commit e2da4fb

Browse files
authored
Roundcube log permission fix
Roundcube is not able to write to /var/log/roundcube This is a fix for it. Reported as a bug long time ago - https://forum.vestacp.com/viewtopic.php?f=12&t=10114&p=39648#p38630 See last line at this post. In v16 you accepted my pull request for password driver, but that was just a partial fix, because it needs to fix log permissions too. Now here is a fix for roundcube log permissions.
1 parent e6d6e19 commit e2da4fb

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
@@ -1125,6 +1125,14 @@ check_result $? "can't create admin user"
11251125
$VESTA/bin/v-change-user-shell admin bash
11261126
$VESTA/bin/v-change-user-language admin $lang
11271127

1128+
# RoundCube permissions fix
1129+
if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
1130+
if [ ! -d "/var/log/roundcube" ]; then
1131+
mkdir /var/log/roundcube
1132+
fi
1133+
chown admin:admin /var/log/roundcube
1134+
fi
1135+
11281136
# Configuring system ips
11291137
$VESTA/bin/v-update-sys-ip
11301138

0 commit comments

Comments
 (0)