mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-03-06 20:21:05 +01:00
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.
This commit is contained in:
@@ -1125,6 +1125,14 @@ check_result $? "can't create admin user"
|
||||
$VESTA/bin/v-change-user-shell admin bash
|
||||
$VESTA/bin/v-change-user-language admin $lang
|
||||
|
||||
# RoundCube permissions fix
|
||||
if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
|
||||
if [ ! -d "/var/log/roundcube" ]; then
|
||||
mkdir /var/log/roundcube
|
||||
fi
|
||||
chown admin:admin /var/log/roundcube
|
||||
fi
|
||||
|
||||
# Configuring system ips
|
||||
$VESTA/bin/v-update-sys-ip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user