mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07: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:
parent
e6d6e19032
commit
e2da4fbb18
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue