← Back to team overview

sslug-teknik team mailing list archive

SV: Proftp

 

> <Directory />
> AllowOverwrite  on
> </Directory>

Du mangler en stjerne - ret det til nedstående og det burde virke:

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

-----Oprindelig meddelelse-----
Fra: -=KnowHow The NetCrawler=- [mailto:knowhow@xxxxxxxxxxxxxx]
Sendt: 29. april 2001 12:41
Til: sslug-teknik@xxxxxxxx
Emne: [TEKNIK] Proftp


Hej!

Jeg kører proftp med følgende opsætning:

======================================================

# 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 Default Installation"
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    ftp
Group    ftp

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

<Limit LOGIN>
DenyAll
</Limit>


# A basic anonymous configuration, no upload directories.

<Anonymous ~uefa>
  User    uefa
  Group    uefa
  AnonRequirePassword   on
  # We want clients to be able to login with "anonymous" as well as "ftp"
  #UserAlias   anonymous ftp

  <Limit LOGIN>
  AllowAll
  </Limit>
  # Limit the maximum number of anonymous logins
  MaxClients   10

# Normally, we want files to be overwriteable.

<Directory />
AllowOverwrite  on
</Directory>


  # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin   welcome.msg
  DisplayFirstChdir  .message

  # Limit WRITE everywhere in the anonymous chroot
  <Limit ALL>
    AllowAll
  </Limit>

</Anonymous>

=================================================================


Og det har virket for mig før, men nu kan jeg ikke overskrive filer!

Hvorfor??

Hvad skal jeg gøre??


Det virker mystisk, da jeg har gjort det samme som sidste gang jeg satte det
op, og der virkede det fint!

På forhånd tak!

René Luckow



References