LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 844|回复: 3

我的proftpd为什么还是无法上传啊,我都要发狂了。

[复制链接]
发表于 2003-2-17 01:01:19 | 显示全部楼层 |阅读模式
看看我的proftpd.conf吧,哪里有错啊,看了好多文档,跟我的写得也都差不多啊,为什么我的就是无法上传?

ServerName "FTP"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
UseReverseDNS off
User nobody
Group nobody
DefaultRoot /home/ftp
<Directory /*>
AllowOverwrite on
</Directory>

<Anonymous /home/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
MaxClientsPerHost 2 "lease don't open more than 2 sessions."
DisplayLogin welcome.msg
DisplayFirstChdir .message
RequireValidShell on
<Limit WRITE>
DenyAll
</Limit>
<Directory incoming>
AllowStoreRestart on
<Limit WRITE>
AllowALL
</Limit>
</Directory>
</Anonymous>
发表于 2003-2-17 09:26:49 | 显示全部楼层
上传的目录权限设置好了吗???chmod 755 你的目录
 楼主| 发表于 2003-2-17 11:53:32 | 显示全部楼层

上传目录都设成777了

还是不行
发表于 2003-2-17 16:48:36 | 显示全部楼层
经本人实践,在
<Limit WRITE>
DenyAll
</Limit>
的上面加上这个
<Directory /synn/ftp/upload>
<Limit DELE>
DenyAll
</Limit>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
就可以实现文件的上传(记得把upload文件夹权限设为777)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表