Alexandros Ioannides %!s(int64=7) %!d(string=hai) anos
pai
achega
7a28629ffc
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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"