请问:想让用户能上传文件,proftpd.conf的关键语句应该怎么写?

由 prolife 在 11-13-2002 15:51 发表:

请问:想让用户能上传文件,proftpd.conf的关键语句应该怎么写?

用的是proftpd 1.2.6

在/mnt下建了一个目录public,想让用户test对这个目录有上传的

权限。(test属于proftpd组)但在实际操作中,test可以登录,但不能上传文件到这个目录。

请问:想让用户能上传文件,proftpd.conf的关键语句应该怎么写呢?

下面的我的proftpd.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 "ProFTPD Version1.2.6"

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

MaxInstances 30

Set the user and group that the server normally runs at.

User nobody

Group nobody

Normally, we want files to be overwriteable.

1<directory *="">   
2  
3AllowOverwrite on   
4  
5</directory>
 1<anonymous mnt="">   
 2  
 3User test   
 4  
 5Group proftpd   
 6  
 7AnonRequirePassword on   
 8  
 9MaxClients 3   
10  
11<directory public="">
12<limit read="">   
13  
14DenyAll   
15  
16IgnoreHidden on&lt;br</limit></directory></anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus