由 failing 在 03-07-2003 21:31 发表:
RH8; WU-FTP匿名用户上传问题
匿名用户不能在我的FTP上上传, 但是REAL用户就可以.
我想可能是INCOMING目录的权限问题,可是我已经把权限设为777了.
下面是我的FTP的一些信息:
---------------------------------------
[root@spnp48037 ftp]# ls -la incoming
total 16
drwxrwxrwx 4 ftp ftp 4096 Mar 3 21:53 .
dr-xr-xr-x 7 ftp ftp 4096 Mar 3 22:08 ..
drwxrwxrwx 3 ftp ftp 4096 Mar 3 21:39 dan is uploading
drwxrwxrwx 2 ftp ftp 4096 Mar 3 21:41 test
#########################################
ftpaccess:
---------------------------
deny-uid %-99 %65535
deny-gid %-99 %65535
allow-uid ftp
allow-gid ftp
User classes...
class all real,guest,anonymous *
class anony anonymous *
class nonano real,guest *
upload /home/ftp * no
upload /home/ftp /incoming* yes ftp ftp 777 dirs
#####################################
/etc/group:
------------
ftp❌50:
##################################
/etc/passwd:
--------------
ftp❌14:50:FTP User:/home/ftp/:/bin/ftponly
###################################
麻烦各位指点一二,谢谢
由 buddy 在 03-07-2003 22:29 发表:
我也想知道
?
由 failing 在 03-10-2003 16:57 发表:
哪位能指点一下?
或者哪位曾经匿名上传过?介绍一下经验也好.
先谢了
由 pine 在 03-11-2003 06:05 发表:
Change the following lines.
allow-uid ftp ---> allow-uid %14
allow-gid ftp ---> allow-gid %50
由 pine 在 03-11-2003 06:07 发表:
BTW, what's the error message you get?
由 pine 在 03-11-2003 06:57 发表:
我试了,与allow-uid和allow-gid无关。注意,上传前必须cd到/home/ftp/incoming目录下。把你的问题说详细点(什么错误信息)。
由 failing 在 03-11-2003 11:41 发表:
我用的是ROOT登录,设置好FTP之后,用IFCONFIG找到自己的地址,然后用RH8自带的GFTP(好象是这个名字吧)测试
匿名登录后,想把文件上传到incoming目录下(已经进到该目录了),可是提示没有UPLOAD权限(具体的英文不记得了,我现在不在LINUX下,晚上可以把具体的错误信箱写上来)
可是用REAL用户登录,就可以在incoming下写东西,建目录
我去wu-ftpd的官方网站找FAQ,里面倒是提到了匿名上传的问题,可是我按照那个方法做,还是不行,不知道是不是哪里的设置有错误.
我觉得已经把有可能有问题的设置都列给大家看了,如果还有什么地方可能会有错的,请不吝赐教.谢谢
由 pine 在 03-11-2003 19:11 发表:
我在Debian下用wu-ftpd匿名上传没遇到过问题。你可以用以下的方法测试。
1,启动wu-ftpd
2. 运行以下命令
ftp localhost
用anonymous登录
cd pub/incoming
put test-file
3. 把你的错误信息贴出来。
由 Snoopy 在 03-11-2003 19:18 发表:
你把这个软件的下载地址给我好吗???如果可以是最新版
配置难吗??
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 failing 在 03-11-2003 20:36 发表:
以下是我copy下来的错误信息:
[root@spnp49225 ftp]# ftp localhost
Connected to localhost (127.0.0.1).
220-Welcome! My friend from localhost.localdomain!
220-It is Tue Mar 11 20:36:38 2003 now on spnp49225.spnp.nus.edu.sg.
220-
220 spnp49225.spnp.nus.edu.sg FTP server (Version wu-2.6.2-8) ready.
Name (localhost:root): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd incoming
250 CWD command successful.
ftp> put limit
local: limit remote: limit
227 Entering Passive Mode (127,0,0,1,121,229)
553 limit: Permission denied on server. (Upload)
ftp> passive
Passive mode off.
ftp> put limit
local: limit remote: limit
200 PORT command successful.
553 limit: Permission denied on server. (Upload)
由 failing 在 03-11-2003 20:45 发表:
wu-ftpd是linux下常用的FTP服务器软件
可以去他们的官方网