Alexandros Ioannides 7 лет назад
Родитель
Сommit
7a28629ffc
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      install/vst-install-ubuntu.sh

+ 6 - 0
install/vst-install-ubuntu.sh

@@ -943,6 +943,12 @@ done
 
 if [ "$vsftpd" = 'yes' ]; then
     cp -f $vestacp/vsftpd/vsftpd.conf /etc/
+    touch /var/log//vsftpd.log
+    chown root:adm /var/log/vsftpd.log
+    chmod 640 /var/log/vsftpd.log
+    touch /var/log/xferlog
+    chown root:adm /var/log/xferlog
+    chmod 640 /var/log/xferlog
     update-rc.d vsftpd defaults
     service vsftpd start
     check_result $? "vsftpd start failed"