SunQuest
           FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old December 2nd, 2003, 05:25 PM
Eden Project Eden Project is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 Eden Project User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Making a file drop point with vsftpd 1.1.3

Is there any way to make it so that ftp users can only use the ftp as a file drop, without being able to do anything but upload the files?

I am using vsftp 1.1.3 - and it doesn't seem to accept the cmds_allowed command, or I am screwing it up in some way. Every time I try to use this option, it makes the ftp refuse all connections.

eg,
cmds_allowed=QUIT,STOR

I've set up the user locked in their own home directories, and that's pretty much all the change I have done with the base setup.

Eden.

p.s. this vsftpd came with Red Hat Linux 9.

p.p.s. I'm a LInux newb.

Reply With Quote
  #2  
Old December 3rd, 2003, 03:34 PM
Eden Project Eden Project is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 Eden Project User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well I foudn a kludgy fix. I set the directory rights to write only, and vsftp returns an error message when you log in and try to list the files in the directory.

chmod 720 ftpdir

drwx-w---- ftp ftp 512 ftpdir

You can still upload AND download files rather than just upload.

Can anyone tell me how to restrict it to upload-only?

Eden.

Reply With Quote
  #3  
Old December 4th, 2003, 12:28 PM
Enkrypter Enkrypter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 24 Enkrypter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It would probably work if you added the LIST command as well.. Most FTP clients will run the LIST command first, just to get their bearings...

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Making a file drop point with vsftpd 1.1.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway