Fedora Linux Support Community & Resources Center
  #1  
Old 24th September 2005, 01:28 AM
latcarf Offline
Registered User
 
Join Date: Jul 2005
Location: Cinci, Ohio
Posts: 57
FTP Uploads

I am using proftpd and can login etc... the problem is allowing people to upload files to a directory called /plant. I have this set in my proftpd.conf but every time I try to load a file from my windows box using WS_FTP I get Permisson Denied.

Anyone see what I am doing wrong? or suggestions?
Code:
# This is the ProFTPD configuration file
# $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $

ServerName			"ProFTPD server"
ServerIdent			on "FTP Server ready."
ServerAdmin			root@localhost
ServerType			standalone
DefaultServer			on
AccessGrantMsg			"User %u logged in."
DeferWelcome			off

# Use this to excude users from the chroot
DefaultRoot			~ !adm

# Use pam to authenticate (default) and be authoritative
AuthPAMConfig			proftpd
AuthOrder			mod_auth_pam.c* mod_auth_unix.c

# Do not perform ident nor DNS lookups (hangs when the port is filtered)
IdentLookups			off
UseReverseDNS			off

# Port 21 is the standard FTP port.
Port				21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask				022

# Default to show dot files in directory listings
ListOptions			"-a"

# Allow to resume not only the downloads but the uploads too
AllowRetrieveRestart		on
AllowStoreRestart		on

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances			20

# Set the user and group that the server normally runs at.
User				nobody
Group				nobody

# This is where we want to put the pid file
ScoreboardFile			/var/run/proftpd.score

# Normally, we want users to do a few things.
<Global>
  AllowOverwrite		yes
  <Limit ALL SITE_CHMOD>
    AllowAll
  </Limit>
</Global>

# Define the log formats
LogFormat			default	"%h %l %u %t \"%r\" %s %b"
LogFormat			auth	"%v [%P] %h %t \"%r\" %s"

# anonymous configuration, with an upload directory.
<Anonymous ~ftp>
  User				ftp
  Group				ftp
  AccessGrantMsg		"Anonymous login ok, restrictions apply."
#
#  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias			anonymous ftp

#  # Limit the maximum number of anonymous logins
  MaxClients			10 "Sorry, max %m users -- try again later"

# Put the user into /pub right after login
  DefaultChdir			/crops

# We want 'welcome.msg' displayed at login, '.message' displayed in
# each newly chdired directory and tell users to read README* files. 
  DisplayLogin			/welcome.msg

# Some more cosmetic and not vital stuff
  DirFakeUser			on ftp
  DirFakeGroup			on ftp

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

# An upload directory that allows storing files but not retrieving
# or creating directories.
   <Directory /plant/*>
	  AllowOverwrite		no
	<Limit READ>
	  DenyAll
	</Limit>
	<Limit STOR>
	  AllowAll
	</Limit>
  </Directory>

# Logging for the anonymous transfers
  ExtendedLog		/var/log/proftpd/access.log WRITE,READ default
  ExtendedLog		/var/log/proftpd/auth.log AUTH auth

</Anonymous>
Reply With Quote
  #2  
Old 24th September 2005, 02:00 AM
Steve Myers Offline
Registered User
 
Join Date: Sep 2005
Location: Florida
Age: 30
Posts: 37
Quote:
# Set the user and group that the server normally runs at.
User nobody
Group nobody
I am no pro at this, but it seems you have nobody set in the user group to allow uploading priviledges. "I could be wrong" someone quote me on this one to make sure it's right.
__________________
Regards, Steve Myers
Fedora Core 4.1 - Gnome 2.12
Reply With Quote
  #3  
Old 24th September 2005, 02:34 AM
latcarf Offline
Registered User
 
Join Date: Jul 2005
Location: Cinci, Ohio
Posts: 57
these lines are marked out with #. Below that for upload it has the user and group set to ftp. Your post gave me thought though and I changed the user & group lines you quoted from nobody to ftp, unmarked them, and that didn't work either.
Reply With Quote
Reply

Tags
ftp, uploads

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Testing Uploads bob Gallery 7 21st July 2009 06:00 AM
Vista shares and stalled uploads yardie Servers & Networking 0 1st February 2008 04:31 PM
azureus 2.5.0.0 on FC6 is slow on uploads marko Servers & Networking 12 1st April 2007 05:44 AM
PHP File Uploads/FTP Doesn't Work Detour Servers & Networking 1 16th December 2004 10:22 PM


Current GMT-time: 06:53 (Friday, 28-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Bonapriso Instagram Photos - Top Store Travel Photos on Instagram - Lago Titicaca - Isla de los Uros