错误:
500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever
解决方案:
在vsftpd.conf中修改如下两行:
#chown_uploads=YES
#chown_username=whoever
将以上两行的“#”注释符去掉,并在系统中新建一个whoever用户,或者whoever改成系统用户名
sudo service vsftpd restart
另:需要在服务器端解决当前用户权限问题
sudo chown -R username /directory/...
/etc/vsftpd.conf配置如下
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen&