Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th March 2007, 09:18 PM
willieray's Avatar
willieray Offline
Registered User
 
Join Date: Sep 2004
Location: So. California
Posts: 191
vsftpd configuration problems

Hey team, I'm a bit stuck. Here's the deal:

I want to have an ftp user that is very restricted. I want user to be able to write only and only to one directory. Basically, we have advertisers that need to upload their content for our monthly magazine. We do not want them to be able to see any of the files in the upload directory, or download any files. Basically, i want to jail them into an unreadable directory so all they can do is upload. We do not want anonymous access. Please help.

thanks
__________________
~willieray Registered Linux User #371168
#include <beer.h>

Computer Science is as much about computers as astronomy is about telescopes
-- Edsger Wybe Dijkstra (1930-2002)
Reply With Quote
  #2  
Old 1st April 2007, 05:35 PM
aenguillo's Avatar
aenguillo Offline
Registered User
 
Join Date: Apr 2007
Location: Philippines
Posts: 5
i tried vsftp before but got troubles with it. i tried ProFTP. setting up is easy. just my opinion.
__________________
tough times never last but tough people do...
Linux User #444780
Reply With Quote
  #3  
Old 2nd April 2007, 01:03 PM
luci2200 Offline
Registered User
 
Join Date: Mar 2007
Posts: 9
Quote:
Originally Posted by willieray
Hey team, I'm a bit stuck. Here's the deal:

I want to have an ftp user that is very restricted. I want user to be able to write only and only to one directory. Basically, we have advertisers that need to upload their content for our monthly magazine. We do not want them to be able to see any of the files in the upload directory, or download any files. Basically, i want to jail them into an unreadable directory so all they can do is upload. We do not want anonymous access. Please help.

thanks
Hello,
All you have to do is edit vsftpd.conf under the /etc directory. You uncomment the line chroot_list, and you create the file chroot_list and in this file you put the user name of the user you want to ahve acces in their folder, usualy their home directory. After you edit the files you restart the vsftpd and that's all. If you need help I can send you a example of configuration files that I have on my servers. Give me an e-mail. Good look!

Lucian
Reply With Quote
  #4  
Old 2nd April 2007, 09:11 PM
willieray's Avatar
willieray Offline
Registered User
 
Join Date: Sep 2004
Location: So. California
Posts: 191
I resolved my issue. For anyone else who needs something similar:

I created an upload directory in /var/ftp
I chmod the upload dir to 753, allowing execute and write permissions to all
I allowed anon uploads in vsftpd.conf
I changed vsftpd.conf to chown files to my username after upload.

Now anon users can upload only to /var/ftp/upload , but not overwrite, or read any files there. My username has read and write perms to these files and we're good to go.
__________________
~willieray Registered Linux User #371168
#include <beer.h>

Computer Science is as much about computers as astronomy is about telescopes
-- Edsger Wybe Dijkstra (1930-2002)
Reply With Quote
  #5  
Old 14th April 2007, 02:08 PM
barf Offline
Registered User
 
Join Date: Dec 2004
Location: New Zealand
Age: 57
Posts: 266
Had you not stated that you did not want to allow anon access I'm sure several of us readers would have given you that solution!!
Reply With Quote
Reply

Tags
configuration, problems, vsftpd

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
vsftpd configuration so that anonymous can modify files? spacelobsters Servers & Networking 1 6th February 2007 08:14 AM
Migrating configuration of VSFTPd to Fedora Core 5 Thetargos Servers & Networking 2 22nd August 2006 04:27 PM
vsftpd Problems nerrick Servers & Networking 8 1st October 2005 09:16 PM
Problems with vsftpd deepblue Servers & Networking 8 4th December 2004 02:59 PM
vsftpd Configuration Assistance Quella Using Fedora 3 22nd October 2004 06:32 PM


Current GMT-time: 02:27 (Saturday, 25-05-2013)

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