LinuxSir.cn,穿越时空的Linuxsir!

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

使用XAMPP内付的PROFTP遇到问题,没有写入权限…………

[复制链接]
发表于 2005-4-26 01:07:59 | 显示全部楼层 |阅读模式
我装了一个XAMPP(图方便了)
自带了proftp。其默认目录一切正常。
但是我把目录设置为/opt/www以后就出问题了,无法写入。

付上proftp.conf,大家执教一下,谢谢。

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "roFTPD"
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port                            21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances                    30

# Set the user and group that the server normally runs at.
User                            nobody
#Group                          nogroup

# Normally, we want files to be overwriteable.
<Directory /opt/www/*>
  AllowOverwrite                on
</Directory>

# only for the web servers content
DefaultRoot /opt/www

# nobody gets the password "lampp"
UserPassword nobody wRPBu8u4YP0CY

# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off

# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off
 楼主| 发表于 2005-4-27 17:17:31 | 显示全部楼层
自己顶。
大家看看啊。
谢谢了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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