nobody0
11.08.04, 23:59
Nach Neuinstallation u. anpassen der config kann ich keine Datei mehr uploaden, obwohl die Pfade u. Rechte stimmen; es muß an der config liegen.
Nach google habe ich deshalb einiges ausprobiert, aber ohne Erfolg.
Die Log-Dateien halfen auch nicht.
Was ist an der Config falsch? :confused:
# This is a basic ProFTPD configuration file. It establishes a single
# server and a single anonymous login. It assumes that you have a
# user/group "nobody"/"nogroup" for normal operation and anon.
ServerName RedOne
#ServerType inetd
ServerType standalone
ServerAdmin nobodyo<nospam>@</nospam>web.de
ServerIdent on "--= Red One FTP =--"
DeferWelcome on
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
# The ratio directives take four numbers: file ratio, initial file
# credit, byte ratio, and initial byte credit. Setting either ratio
# to 0 disables that check.
#
# The directives are HostRatio (matches FQDN -- wildcards are allowed
# in this one), AnonRatio (matches password entered in an anon login,
# usually an email address), UserRatio (accepts "*" for 'any user'),
# and GroupRatio. Matches are looked for in that order.
#
# Some examples:
#
# Ratios on # enable module
# UserRatio ftp 0 0 0 0
# HostRatio anyhost.domain.top 0 0 0 0 # leech access (default)
# GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred
# AnonRatio auser@domain.top 1 0 1 0 # 1:1 ratio, no credits
# UserRatio * 5 5 5 50000 # special default case
#
# Setting "Ratios on" without configuring anything else will enable
# leech mode: it logs activity and sends status messages to the ftp
# client, but doesn't restrict traffic.
# ScoreboardPath /var/run/proftpd
# Max Connections
MaxInstances 6
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
LogFormat anonymous "%t[ %u ][ %a ][ %h ][ %r ][ %f ][ %b ]"
#ExtendedLog /var/log/proftpd auth,read,write anonymous
ExtendedLog /var/log/proftpd all anonymous
<Limit LOGIN>
DenyGroup guests
</Limit>
<Anonymous /srv/ftp>
<Limit LOGIN>
Order Allow,Deny
Allow from all
Deny from all
</Limit>
MaxClients 3 "no. maximal user count reached (2)."
MaxClientsPerHost 2 "no. maximal host-based login count reached (2)"
TransferRate APPE,RETR,STOR,STOU 2.984:1492
AnonRequirePassword off
# AuthAliasOnly on
# AuthUsingAlias on
UserAlias anonymous ftp
# After anonymous login, daemon runs as (ftp, daemon):
User ftp
Group ftp
RequireValidShell off
AccessGrantMsg "Access granted to user: %u "
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin .login
DisplayFirstChdir .message
DisplayQuit .quit
ShowSymlinks on
#<Directory upload>
#AllowStoreRestart on
#AllowOverWrite on
#<Limit READ>
#DenyAll
#</Limit>
#<Limit STOR SIZE MKD>
#AllowAll
#</Limit>
#</Directory>
# <Directory upload>
# <Limit STOR CWD XCWD>
# AllowAll
# </Limit>
# <Limit READ DELE MKD RMD XMKD XRMD>
# DenyAll
# </Limit>
# </Directory>
# Only uploads into incoming directory are allowed...
# <Directory upload>
# <Limit ALL>
# DenyAll
# </Limit>
# allow resume in uploading
# AllowStoreRestart on
# AllowOverwrite on
# Umask 002
# ... so deny read/write
# <Limit READ WRITE>
# DenyAll
# </Limit>
# ... allow file storing, but not other writes
# <Limit REST STOR MKD APPE CDUP CWD XCWD XCUP STOU>
# AllowAll
# </Limit>
# </Directory>
# Deny write operations to all directories, underneath root-dir
# Default is to allow, so we don't need a <Limit> for read operations.
# <Directory *>
# AllowRetrieveRestart on
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
</Anonymous>
TransferRate APPE,RETR,STOR,STOU 2.984:1492
Nach google habe ich deshalb einiges ausprobiert, aber ohne Erfolg.
Die Log-Dateien halfen auch nicht.
Was ist an der Config falsch? :confused:
# This is a basic ProFTPD configuration file. It establishes a single
# server and a single anonymous login. It assumes that you have a
# user/group "nobody"/"nogroup" for normal operation and anon.
ServerName RedOne
#ServerType inetd
ServerType standalone
ServerAdmin nobodyo<nospam>@</nospam>web.de
ServerIdent on "--= Red One FTP =--"
DeferWelcome on
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
# The ratio directives take four numbers: file ratio, initial file
# credit, byte ratio, and initial byte credit. Setting either ratio
# to 0 disables that check.
#
# The directives are HostRatio (matches FQDN -- wildcards are allowed
# in this one), AnonRatio (matches password entered in an anon login,
# usually an email address), UserRatio (accepts "*" for 'any user'),
# and GroupRatio. Matches are looked for in that order.
#
# Some examples:
#
# Ratios on # enable module
# UserRatio ftp 0 0 0 0
# HostRatio anyhost.domain.top 0 0 0 0 # leech access (default)
# GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred
# AnonRatio auser@domain.top 1 0 1 0 # 1:1 ratio, no credits
# UserRatio * 5 5 5 50000 # special default case
#
# Setting "Ratios on" without configuring anything else will enable
# leech mode: it logs activity and sends status messages to the ftp
# client, but doesn't restrict traffic.
# ScoreboardPath /var/run/proftpd
# Max Connections
MaxInstances 6
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
LogFormat anonymous "%t[ %u ][ %a ][ %h ][ %r ][ %f ][ %b ]"
#ExtendedLog /var/log/proftpd auth,read,write anonymous
ExtendedLog /var/log/proftpd all anonymous
<Limit LOGIN>
DenyGroup guests
</Limit>
<Anonymous /srv/ftp>
<Limit LOGIN>
Order Allow,Deny
Allow from all
Deny from all
</Limit>
MaxClients 3 "no. maximal user count reached (2)."
MaxClientsPerHost 2 "no. maximal host-based login count reached (2)"
TransferRate APPE,RETR,STOR,STOU 2.984:1492
AnonRequirePassword off
# AuthAliasOnly on
# AuthUsingAlias on
UserAlias anonymous ftp
# After anonymous login, daemon runs as (ftp, daemon):
User ftp
Group ftp
RequireValidShell off
AccessGrantMsg "Access granted to user: %u "
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin .login
DisplayFirstChdir .message
DisplayQuit .quit
ShowSymlinks on
#<Directory upload>
#AllowStoreRestart on
#AllowOverWrite on
#<Limit READ>
#DenyAll
#</Limit>
#<Limit STOR SIZE MKD>
#AllowAll
#</Limit>
#</Directory>
# <Directory upload>
# <Limit STOR CWD XCWD>
# AllowAll
# </Limit>
# <Limit READ DELE MKD RMD XMKD XRMD>
# DenyAll
# </Limit>
# </Directory>
# Only uploads into incoming directory are allowed...
# <Directory upload>
# <Limit ALL>
# DenyAll
# </Limit>
# allow resume in uploading
# AllowStoreRestart on
# AllowOverwrite on
# Umask 002
# ... so deny read/write
# <Limit READ WRITE>
# DenyAll
# </Limit>
# ... allow file storing, but not other writes
# <Limit REST STOR MKD APPE CDUP CWD XCWD XCUP STOU>
# AllowAll
# </Limit>
# </Directory>
# Deny write operations to all directories, underneath root-dir
# Default is to allow, so we don't need a <Limit> for read operations.
# <Directory *>
# AllowRetrieveRestart on
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
</Anonymous>
TransferRate APPE,RETR,STOR,STOU 2.984:1492