Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

proftpd - directory access

Status
Not open for further replies.

bateman23

Programmer
Mar 2, 2001
145
DE
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 &quot;Sorry&quot;
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 &quot;Welcome to my FTP-Server&quot;
AccessDenyMsg &quot;You failed, one more try ... ;-(&quot;
</Global>
---------------------------------------
Visit me @:
 
Ok, i got it - just forgot to set the permissions.
Is it right, that i have to set the permissions for all sub-directories ? ---------------------------------------
Visit me @:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top