LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Proftpd User Permissions (https://www.linuxquestions.org/questions/linux-newbie-8/proftpd-user-permissions-302781/)

discrepant 03-17-2005 12:04 PM

Proftpd User Permissions
 
I am attempting to get a simple and working proftpd.conf that I could use as a model for a slightly more complicated proftpd.conf. I want to enable write permissions for anonymous users. But, I can't seem to enable them! I've not a clue what I'm doing wrong. This is what my proftpd.conf looks like..

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ServerName "My FTP Server"
ServerType standalone
DefaultServer on
Umask 022
Port 21
User proftpd
Group proftpd
<Directory /home/ftp>
AllowOverwrite on
</Directory>
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
RequireValidShell off
<Limit READ WRITE STOR>
AllowAll
</Limit>
</Anonymous>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Perhaps someone could post a proftpd.conf of their own? Or maybe the problem doesn't lay within my configuration file but something else? I have chowned the root directory (/home/ftp) to proftpd and chgrped it to proftpd. The only access that seems to be granted are READ permissions. I'd appreciate the help.

Axo 03-17-2005 05:33 PM

heres my working proftpd.conf to allow write access


RequireValidShell on

# Limit the maximum number of anonymous logins
MaxClients 5

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
#<Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>

# Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>




Also heres MasterC 's guide to proftp found Here

*edit* added URL


All times are GMT -5. The time now is 09:21 AM.