Ok.. This will take some explaining - so bear with me.
I FINALLY realiased what I was doing wrong with the IBay FTP access - its
ftp://IBay@DOMAINStrange but livable.
But since fixing this I still had the problem that I wanted to enable files to be upload to the IBay by anyone, and still have some protection..
If you have tried this with an un-altered IBay then then you'd get a Permissions error and lots of lost hair.
The easy way is this..
goto etc/e-smith/skel/ibays/files
create a NEW directory there called upload
Now when a new IBay is created there will be an upload directory in the files area.
Next to enable it for access
create a new custom template as follows
mkdir etc/e-smith/templates-custom/etc/proftpd.conf
cp etc/e-smith/templates/etc/proftpd.conf/60AnonymousIBay to etc/e-smith/templates-custom/etc/proftpd.conf/60AnonymousIBay
Now change 60AnonymousIBay in the custom directory and add the following lines
$OUT .= "
\n";
$OUT .= " \n";
$OUT .= " AllowAll\n";
$OUT .= " \n";
$OUT .= " \n";
after the
Save, and then create an IBay.
What happens is this
When an anon user logs in the whole directory structures is set to DenyAll
Then it reads the next line and the upload directory is set to AllowAll
Thus anyone can put stuff in the upload directory - BUT CANNOT change the stuff in the other directories. - Makes administration a dream
If you don't want anyone to upload then just delete the upload directory - as it is not there it will not be changed and the site is still secure.
enjoy
Ps. Dan - could you check that I've put things in the right area.. Also can you send me some details on all of the possible flags for the Limit command
Dave