📄 00000038.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: bx440 (kernel-2.3.8), 信区: Linux <BR>标 题: Re: 亿万次地问: ftp匿名上载问题 <BR>发信站: BBS 水木清华站 (Sat Jul 10 14:13:49 1999) <BR> <BR>【 在 bake (你笑我痴) 的大作中提到: 】 <BR>∶<I> 偶的问题真的很奇怪, 前面关于ftp的文章偶都看了. </I><BR>∶<I> 该做的好象也都做了. </I><BR>∶<I> chown -R ftp incoming </I><BR>∶<I> chgrp -R ftp incoming </I><BR>∶<I> chmod -R 777 incoming </I><BR>∶<I> 在ftp中umask 000也执行了.底下是incoming目录的属性: </I><BR>∶<I> #pwd </I><BR>∶<I> /home/ftp/incoming </I><BR>∶<I> #ls -la </I><BR>∶<I> total 5 </I><BR>∶<I> drwxrwxrwx 5 ftp ftp 1024 Jul 10 11:45 ./ </I><BR>∶<I> drwxrwxr-x 8 ftp ftp 1024 Jul 3 04:34 ../ </I><BR>∶<I> drwxrwxrwx 2 ftp ftp 1024 Jul 10 11:27 test1/ </I><BR>∶<I> drwxrwxrwx 3 ftp ftp 1024 Jul 10 11:32 test2/ </I><BR>∶<I> drwxrwxrwx 2 ftp ftp 1024 Jul 10 11:45 test3/ </I><BR>∶<I> </I><BR>∶<I> 在incoming目录里可以上载文件,也可以创建n级子目录 </I><BR>∶<I> 可是,在下n(n>1)级子目录上载文件时,它总是恨恨地说,"Permission denied(Upload)" </I><BR>∶<I> 偶实在看不出什么毛病, 烦劳诸位高手指点. </I><BR>∶<I> 以下是偶的ftpaccess文件 </I><BR>∶<I> loginfails 5 </I><BR>∶<I> </I><BR>∶<I> class local real,guest,anonymous *.domain 0.0.0.0 </I><BR>∶<I> class remote real,guest,anonymous * </I><BR>∶<I> </I><BR>∶<I> limit local 20 Any /etc/msgs/msg.toomany </I><BR>∶<I> limit remote 100 SaSu|Any1800-0600 /etc/msgs/msg.toomany </I><BR>∶<I> limit remote 60 Any /etc/msgs/msg.toomany </I><BR>∶<I> </I><BR>∶<I> readme README* login </I><BR>∶<I> readme README* cwd=* </I><BR>∶<I> </I><BR>∶<I> message /welcome.msg login </I><BR>∶<I> message .message cwd=* </I><BR>∶<I> </I><BR>∶<I> compress yes local remote </I><BR>∶<I> tar yes local remote </I><BR>∶<I> </I><BR>∶<I> # allow use of private file for SITE GROUP and SITE GPASS? </I><BR>∶<I> private yes </I><BR>∶<I> </I><BR>∶<I> # passwd-check <none|trivial|rfc822> [<enforce|warn>] </I><BR>∶<I> passwd-check rfc822 warn </I><BR>∶<I> </I><BR>∶<I> log commands real </I><BR>∶<I> log transfers anonymous,real inbound,outbound </I><BR>∶<I> shutdown /etc/shutmsg </I><BR>∶<I> </I><BR>∶<I> # all the following default to "yes" for everybody </I><BR>∶<I> delete yes guest,anonymous # delete permission? </I><BR>∶<I> overwrite yes guest,anonymous # overwrite permission? </I><BR>∶<I> rename yes guest,anonymous # rename permission? </I><BR>∶<I> chmod yes anonymous # chmod permission? </I><BR>∶<I> umask yes anonymous # umask permission? </I><BR>∶<I> </I><BR>∶<I> # specify the upload directory information </I><BR>∶<I> upload /home/ftp * no </I><BR>∶<I> upload /home/ftp /bin no </I><BR>∶<I> upload /home/ftp /etc no </I><BR>∶<I> upload /home/ftp /incoming yes ftp daemon 0777 dirs </I><BR>很多人问过这个问题了,当然我也曾和你一样! <BR>这样改,试试看! <BR>upload /home/ftp /incoming* yes ftp ftp 777 dirs <BR>∶<I> </I><BR>∶<I> # directory aliases... [note, the ":" is not required] </I><BR>∶<I> alias inc: /incoming </I><BR>∶<I> </I><BR>∶<I> # cdpath </I><BR>∶<I> cdpath /incoming </I><BR>∶<I> cdpath /pub </I><BR>∶<I> cdpath / </I><BR>∶<I> </I><BR>∶<I> # path-filter... </I><BR>∶<I> path-filter anonymous /etc/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^- </I><BR>∶<I> path-filter guest /etc/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^- </I><BR>∶<I> </I><BR>∶<I> # specify which group of users will be treated as "guests". </I><BR>∶<I> guestgroup ftponly </I><BR>∶<I> </I><BR>∶<I> email user@hostname </I><BR> <BR> <BR>-- <BR> <BR> 宁要LINUX的草,不要MS的苗![D <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 166.111.167.161] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -