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

相關文章
相關標籤/搜索