打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
500 OOPS: vsftpd: refusing to run with writab...
500 OOPS: vsftpd: refusing to run with writable anonymous root解决方法
2010-03-15 21:13
新的vsftp的上传目录改为了/srv/ftp,为了给予上传的权限,我给权限为:sudo chmod 777 /srv/ftp
登录结果为:
fantasy0707@fantasy0707-desktop:/srv$ ftp localhost
Connected to localhost.
220 Welcome to fantasy0707 FTP service.
Name (localhost:fantasy0707): anonymous
331 Please specify the password.
Password:
500 OOPS: vsftpd: refusing to run with writable anonymous root
Login failed.
小看下文档才发现是权限给的太宽了,更改下:
sudo chmod 775 /srv/ftp
再试下:
fantasy0707@fantasy0707-desktop:/srv$ sudo chmod 775 *
fantasy0707@fantasy0707-desktop:/srv$ ftp localhost
Connected to localhost.
220 Welcome to fantasy0707 FTP service.
Name (localhost:fantasy0707): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -l
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r--    1 0        0              16 Mar 14 22:27 hello.txt
226 Directory send OK.
ok,登录成功!
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
vsftpd修改用户所属对象后,无法登录进去
500 OOPS: could not read chroot() list file:/etc/vsftpd/chroot
ubuntu安装ftp服务器(一般配置)
vsftpd on Suse Linux pro
Linux下ftp传输文件权限的修改
RHEL5中解决vsftp连接时的“500 OOPS:cannot change directory:/root”
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服