Przeglądaj źródła

Merge pull request #777 from dpeca/patch-5

Roundcube log permission fix
Serghey Rodin 9 lat temu
rodzic
commit
7d84ff7b85
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      install/vst-install-debian.sh

+ 8 - 0
install/vst-install-debian.sh

@@ -1129,6 +1129,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