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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 2nd, 2004, 02:39 PM
Redtailed's Avatar
Redtailed Redtailed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Utah, USA
Posts: 83 Redtailed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 31 sec
Reputation Power: 5
Red face Prevent Folder/Directory Creation by User or FTP

I have spent much time trying to figure out how to prevent folders from being created in a specific directory.

I'm running FreeBSD with, I believe, a typical ftpd installation. I'm not overly familiar with installing or configuring programs on Unix, but I can navigate around and edit config files.

What I would like to do is prevent additional folders from being created in a specific directory which is used by the FTP server. I don't care if I have to do it on a FTP server level, or on a Unix system level. I do however still want to allow files to be written. The hope is that we will prevent users from uploading via FTP a tree of folders with small files in it. I am trying to prompt them into sending only compressed files such as ZIP.

I've looked at chmod, chflags, etc. but none seem to provide that kind of functionality. Isn't there a way to specify that files can be written but not folders? Alternatively I wouldn't mind disallowing the "MKD" command for a specific login to our FTP server. Reading through ftpd documentation has not really been helpful to me; perhaps I am missing something.

Thank you for anyone who is familiar with this problem and can help provide a solution.
__________________
- Redtailed

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Prevent Folder/Directory Creation by User or FTP


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 4 hosted by Hostway