ubuntu vsftpd ls 时出错500 oops:priv_sock_get_cmd

最近在搞ubuntu,server版13.10ubuntu

安装完ftp后,sudo atp-get install vsftpdwindows

安装完后登录不上,须要更改/etc/vsftpd.confide

local_root 设置根目录,前提的都是些权限方面的东西,设置便可。oop

设置完后,在ubuntu上面ftp localhost 能够正常登陆,可是很ls 时报错:spa


200 PORT command successful. Consider using PASV.rest

150 Here comes the directory listing.server

500 OOPS: priv_sock_get_cmdci

可是window下面 cmd 输入 ftp server 能够正常登陆,ls正常显示和get

winscp 软件提示没法列出目录。提示没法得到目录列表 OOPS: priv_sock_get_itcmd

flashfxp能正常登陆,可是server端什么都不显示,不会执行list命令。

解决办法以下:配置文件中添加:

seccomp_sandbox=NO

添加以后重启就行了

sudo /etc/init.d/vsftpd restart


参考文章:

http://stackoverflow.com/questions/16589570/windows-azure-ubuntu-500-oops-priv-sock-get-cmd-error-while-making-an-ftp-con

相关文章
相关标签/搜索