I am running Raspbian Jessie Lite (released on Mar 18, 2016). Just installed vsftpd, here is my configuration:
listen=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES xferlog_file=/var/log/vsftpd.log secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key ssl_enable=NO
I can login with user pi, and can view any folder with WinSCP. But I cannot mkdir in any folder like
/tmp or even
/home/pi/0777_folder. Write files or create files is also not possible.
I cannot login with user root.
Please help me out. What's wrong? I cannot find anywhere else to configure this. Thank you in advance.