Chinaunix首页 | 论坛 | 博客
  • 博客访问: 99924
  • 博文数量: 64
  • 博客积分: 2570
  • 博客等级: 少校
  • 技术积分: 605
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-24 11:00
文章分类

全部博文(64)

文章存档

2011年(1)

2010年(25)

2009年(38)

我的朋友

分类: LINUX

2010-04-27 15:14:12

This error is because the permission of ftp home folder.My linux is gentoo, so the default of ftp home folder is /home/ftp, I just get rid of write right of ftp folder

chmod 555 /home/ftp
mkdir -pv /home/ftp/upload
chmod 777 /home/ftp/upload

Now the anonymous could upload anything he wants.

Tips
How to know a user's home folder

cat /etc/passwd |grep ftp

ftp:x:109:65534::/home/ftp:/bin/false


阅读(305) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~