Hi,
I've got a problem running proftpd.
Using anonymous login, I don't have write-access to the directory i want to, but can write and even delete files in the directory i don't want to permit that.
Hope somebody can help me....
Here is my proftpd.conf:
# sample /etc/proftpd.conf file
ServerName "ProFTPD"
ServerType standalone
DefaultServer on
Port 21
Umask 022
# Login-Text
DisplayLogin login.txt
#security fix as recommended by proftpd-development-team
DenyFilter \*.*/
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# anonymous ftp section
<Anonymous /files/ftp>
# just read access in that directory
# Maximum clients with message
MaxClients 5 "Sorry"
User ftp
Group ftp
UserAlias anonymous ftp
AuthAliasOnly on
RequireValidShell off
# and i want read and write access here...
<Directory incoming/>
<Limit STOR CWD>
AllowAll
</Limit>
<Limit READ RMD DELE MKD>
DenyAll
</Limit>
</Directory>
</Anonymous>
<Global>
AccessGrantMsg "Welcome to my FTP-Server"
AccessDenyMsg "You failed, one more try ... ;-("
</Global>
---------------------------------------
Visit me @:
I've got a problem running proftpd.
Using anonymous login, I don't have write-access to the directory i want to, but can write and even delete files in the directory i don't want to permit that.
Hope somebody can help me....
Here is my proftpd.conf:
# sample /etc/proftpd.conf file
ServerName "ProFTPD"
ServerType standalone
DefaultServer on
Port 21
Umask 022
# Login-Text
DisplayLogin login.txt
#security fix as recommended by proftpd-development-team
DenyFilter \*.*/
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# anonymous ftp section
<Anonymous /files/ftp>
# just read access in that directory
# Maximum clients with message
MaxClients 5 "Sorry"
User ftp
Group ftp
UserAlias anonymous ftp
AuthAliasOnly on
RequireValidShell off
# and i want read and write access here...
<Directory incoming/>
<Limit STOR CWD>
AllowAll
</Limit>
<Limit READ RMD DELE MKD>
DenyAll
</Limit>
</Directory>
</Anonymous>
<Global>
AccessGrantMsg "Welcome to my FTP-Server"
AccessDenyMsg "You failed, one more try ... ;-("
</Global>
---------------------------------------
Visit me @: