hellow there i have been working on a proftpd config
if worked out most of the probs
but i got an error:
Fatal. </Directory>: directive not allowed in <Limit> context
i dunno whats up with that i also do not get the limit thing very well...
here is my config, tell me about it, what is not good, how is it better te approach, etc...
-------------------------------------------------------------------------------------------------------
#Serverinfo:
ServerName "GUC's personal ftpserver on ProFtpD"
ServerType standalone
DefaultRoot /mnt/hdd
#Explinations about the following settings can be found at #
http://www.proftpd.org/doc/directive.../by-name.html:
DefaultServer on
DeferWelcome on
ServerIdent off
DeleteAbortedStores on
HiddenStor on
CDPath /mnt/hdd/
DisplayConnect /etc/ftpmessages/.connect
DisplayLogin /etc/ftpmessages/.login
DisplayQuit /etc/ftpmessages/.quit
MaxClientsPerUser 5
MaxConnectionRate 3
MaxLoginAttempts 3
Port to listen to:
Port 9876
# 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 = 30
MaxInstances 20
# The user and usergroup that the server runs at:
User nobody
Group nogroup
#Loglocations:
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
# DIRECTORY SETTINGS #
<Directory /mnt/hdd/private>
<Limit DenyGroup> ftpusers</Limit>
</Directory>
<Directory /mnt/hdd/lost+found>
<Limit DenyGroup> ftpusers</Limit>
<Limit WRITE DELE READ RMD LIST>denyall</Limit>
</Directory>
<Directory /mnt/hdd/ftp/upload/>
<Limit>IgnoreHidden</Limit>
<Limit DELE READ RMD>denyall</Limit>
AllowStoreRestart
</Directory>
<Directory /mnt/hdd/ftp/download/>
<Limit WRITE DELE MKD RMD>denyall</Limit>
<Limit>IgnoreHidden</Limit>
AllowRetrieveRestart
</Directory>