ubuntu 16.04 vsftp配置
添加用户 useradd -d /home/xmarks -s /usr/sbin/nologin -m xmarks local_enable=YES write_enable=YES 限制系统用户锁定在家目录 chroot_local_user=YES allow_writeable_chroot=YES 530 Login incorrect /etc/vsftpd.conf: pam_service_name=ftp 550 Create directory operation failed chmod 777 /home/xmarks 允许匿名用户读写 local_root=/home/ftp anon_root=/home/ftp anon_upload_enable=YES anon_mkdir_write_enable=yes local_enable=NO write_enable=YES /home/ftp root root 755 里面建个pub 目录, ftp root 755 就可以在pub 目录里上传文件了……