# This is a sample ProFTPD configuration file for Gentoo Linux (rename
# it to 'proftpd.conf' for actual use). It establishes a single server
# and a single anonymous login.
AllowOverwrite on
AuthAliasOnly on
ServerName "local_ftp"
ServerType standalone
DefaultServer on
RequireValidShell off
AuthPAM off
AuthPAMConfig ftp
Port 21
Umask 022 022
User nobody
Group nogroup
UseFtpUsers off
ExtendedLog /var/log/ftp.log
TransferLog /var/log/xferlog
SystemLog /var/log/syslog.log
AllowStoreRestart on
AllowRetrieveRestart on
MaxInstances 30
MaxLoginAttempts 5
RootLogin off
DefaultRoot /home/local_ftp
DefaultRoot ~
AllowOverwrite off
PersistentPasswd off
<Limit LOGIN>
AllowUser local_ftp
DenyALL
</Limit>
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Directory /home/local_ftp>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>
<Directory> /home/local_ftp/upload/>
Umask 022 022
AllowOverwrite on
<Limit READ RMD DELE>
DenyAll
</Limit>
<Limit STOR CWD MKD>
AllowAll
</Limit>
</Directory>