proFTPd - How do I allow anonymous users put/mkdir access


With proFTPd how do I allow anonymous users permission to

Make directories
Put files on the server
(even if the file doesn't already exist-not just overwrite)
dobriainAsked:
Who is Participating?
 
biardConnect With a Mentor Commented:
Here is the normal configuration for <Anonymous>

<Anonymous /home/ftp>
User ftp # After anonymous login, daemon runs as user ftp.
Group ftp # After anonymous login, daemon runs as group ftp.
UserAlias anonymous ftp # Client login as 'anonymous' is aliased to 'ftp'.
# Deny write operations to all directories, underneath root-dir
# Default is to allow, so we don't need a <Limit> for read operations.
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory incoming>
<Limit READ WRITE>
DenyAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>

If you change it as follows, it should allow you to give read and write access to anonymous users.

<Anonymous /home/ftp>
User ftp # After anonymous login, daemon runs as user ftp.
Group ftp # After anonymous login, daemon runs as group ftp.
UserAlias anonymous ftp # Client login as 'anonymous' is aliased to 'ftp'.
# This now allows write operations to all directories, underneath root-dir
# Default is to allow, so we don't need a <Limit> for read operations.
<Directory *>
<Limit WRITE>
AllowAll
</Limit>
</Directory>
<Directory incoming>
<Limit READ WRITE>
AllowAll
</Limit>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>


Change both DenyAll to AllowAll.

That should do it.
0
All Courses

From novice to tech pro — start learning today.