Discussion:
Folder upload question
Mr. Fix
2007-01-07 12:13:19 UTC
Permalink
Hi to all,

this is my first message so, please, excuse me if I ask something
stupid or yet asked...

I'd like to deny folder upload to the server but I really can't find a
way to apply this rule (if possible).

Any hints?

Thanks

fix
Mike.Shelby
2007-01-08 19:49:35 UTC
Permalink
You would want to work in your ftpaccess file and do something like this:

upload /Volumes/Data/ftproot /Public yes ftp daemon 0666
nodirs

You can man ftpaccess or take a look a the good howtos on the wu-ftpd site:

http://wu-ftpd.org/HOWTO/

-Mike
Post by Mr. Fix
Hi to all,
this is my first message so, please, excuse me if I ask something
stupid or yet asked...
I'd like to deny folder upload to the server but I really can't find a
way to apply this rule (if possible).
Any hints?
Thanks
fix
--
-=*=-=*=-=*=-=*=-=*=-

*Mike Shelby*
NOAA's National Ocean Service <http://oceanservice.noaa.gov/>
Special Projects Division
1305 East-West Highway, N/MB7
SSMC4, Suite 9623
Silver Spring, MD 20910
(301) 713-3000 x203
Email: ***@noaa.gov <mailto:***@noaa.gov>
Fax: (301) 713-4384
Mr. Fix
2007-01-19 10:07:35 UTC
Permalink
Post by Mike.Shelby
upload /Volumes/Data/ftproot /Public yes ftp daemon 0666
nodirs
Hi Mike,

thanks for your fast reply and excuse me for late in replying.

I can understand that I can deny folder upload for a single directory
(/Volumes/Data/ftproot in your example)

Is it true?

Thanks again

fix
Mr. Fix
2007-01-19 15:07:52 UTC
Permalink
That's correct. In this example one could create files but not
folders. Ftpaccess allows for a lot of granularity.
Great! It's work! ... or maybe not?

Strange facts here...

I've tried to deny the folder upload to a "generic" folder, and it works
upload /path/to/the/dir /theDir yes * * 0666 nodirs


I've tried the same for a "dropbox folder" (a folder that only the
owner can read and the group only can write)

upload /path/to/the/dir /theDropBox yes theOwner theGroup 0620 nodirs

But looks like nothing happens... I can easily upload folders where I
log in as a group member

I really can't understand... the path is exact (copy & paste from
pwd)...

Any suggestion?

Thanks in advance.

fix

Loading...