Koozali.org: home of the SME Server

upload to ibays

brian Moore

upload to ibays
« on: November 14, 2000, 03:19:42 AM »
Greetings.  Okay, set up an ibay to use as my ftp site with the public permission as entire internet password required outside local network.  if people use the ibay name as login and the password I have set, they can log in and download fine.  however, when anyone attempts to upload to my upload directory, they get a 550 permission denied error.  I have created an upload directory in the files directory of the ibay.  tried changing the permission on the directory to 766 but seems to have no effect.  any info would be appreciated.  thanks.

Alec Norek

RE: upload to ibays
« Reply #1 on: November 14, 2000, 02:41:06 PM »
Yep! I've got the same problem, so I guess that this is the way that e-smith have designed it or maybe due to the type of connection you/I have.  What I do is create a user & password and then user can ftp://user@domain.com and he has a home & maildir to which he has +rw priviledges.  You can then drag & drop to any directory in his ibay.  Bit messy but it's a workaround & might save egg on face.

Sorry if this is too obvious & you have already tried it.

Cheers

Matt Goss

Re: upload to ibays
« Reply #2 on: July 09, 2001, 07:16:06 AM »
Hey there!

I found the easiest solution was as follows:  (note that I'm running e-smith 4.1.1, not the newest)

1. visit the main e-smith.org page and read about customizing templates.

2. customize the proftpd template named 60AnonymousIBay (or something similar to that) by doing the following:

- near the bottom where it says:


 DenyAll



add your own section below it for your own dir


AllowAll



Now every ibay you create that has an Uploads dir, will be writeable.

Matt Goss

Re: upload to ibays
« Reply #3 on: July 09, 2001, 08:30:26 AM »
In addition, putting the following lines between the tags may also be helpful:

AllowStoreRestart on
AllowOverwrite on

the first allows FTP Resume and the second allows the users to erase their uploads and such.

enjoy!
matt

Dave Boccabella

Re: upload to ibays
« Reply #4 on: July 09, 2001, 02:34:23 PM »
Will work fine..
But personally I'd prefer

STOR MKD

as the flags.
As there might be someone who will overwrite other's work.. Or do malicious damage. This way thay can create subdirectories, and put things in there.. But no rename/erase funcationality.

Dave