LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2005, 12:04 PM   #1
discrepant
LQ Newbie
 
Registered: Feb 2005
Location: California
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
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.
 
Old 03-17-2005, 05:33 PM   #2
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
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

Last edited by Axo; 03-17-2005 at 05:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd user permissions powadha Linux - Software 1 09-21-2005 02:18 PM
Mandrkae Proftpd user permissions slipsy Linux - Newbie 1 09-10-2003 03:36 PM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 01:13 PM
proftpd permissions niehls Linux - Software 2 05-02-2003 03:33 PM
Proftpd Permissions Nephlite Linux - Networking 6 02-08-2002 10:26 AM


All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration