由 shyxie 在 04-28-2004 19:09 发表:
请教一个关于wu-ftpd的问题!!
用wu-ftpd架设了ftp服务器,但用匿名登陆的话却无法看到用户根目录的文件和目录,为什么呢??
用注册帐号的却没问题。。。。
由 shyxie 在 04-28-2004 21:36 发表:
没有人回答我吗??急用啊,请帮帮忙!!
由 shyxie 在 04-29-2004 00:14 发表:
自己搞定了,原来我没有把ls文件复制到ftp根目录的bin下.顺便再问一个问题:怎样可以把本地硬盘的其它目录映射到ftp的根目录下呢??
由 home_king 在 04-29-2004 12:36 发表:
> quote:
>
> * * *
>
> 最初由 shyxie 发表
>
> 自己搞定了,原来我没有把ls文件复制到ftp根目录的bin下.顺便再问一个问题:怎样可以把本地硬盘的其它目录映射到ftp的根目录下呢??
>
> * * *
ln -sf /your/dir /home/ftp
把所有的配置文件贴出来看看,这样大家才可以帮你分析。
曾经沧海难为水,除却巫山不是云
USE="
-lfs id:11398
-Debian sid
+Gentoo"
GENTOO的中文桌面LIVECD——ibox,欢迎大家测试使用
由 shyxie 在 04-29-2004 14:12 发表:
/etc/ftpaccess内容如下:
======================================================
Copyright (c) 1999,2000,2001 WU-FTPD Development Group.
All rights reserved.
Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
The Regents of the University of California.
Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
Portions Copyright (c) 1989 Massachusetts Institute of Technology.
Portions Copyright (c) 1998 Sendmail, Inc.
Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
Portions Copyright (c) 1997 by Stan Barber.
Portions Copyright (c) 1997 by Kent Landfield.
Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997
Free Software Foundation, Inc.
Use and distribution of this software and its source code are governed
by the terms and conditions of the WU-FTPD Software License ("LICENSE").
If you did not receive a copy of the license, it may be obtained online
at http://www.wu-ftpd.org/license.html.
$Id: ftpaccess,v 1.2 2001/03/13 11:52:12 wuftpd Exp $
class all real,guest,anonymous *
limit all 10 Any /etc/msgs/msg.dead
readme README* login
readme README* cwd=*
upload /var/ftp /incoming yes root root 0666 dirs
message /etc/welcome.msg login
message .message cwd=*
log commands real
log transfers anonymous,real inbound,outbound
greeting text xsy's FTP Server ready..
shutdown /etc/shutmsg
email [email protected]
=====================================================
/etc/xinetd.d/wu-ftpd内容如下:
=====================================================
servic