If you want to ftp to an Ibay you need to use the ibay name not user name e.g
ftp://darnell@theburds.orgAs you have already mentioned this will only give access to ibay/darnell/files. In order for him to access cgi-bin, files and html you will need to create a custom template
# pico /etc/e-smith/templates-custom/etc/proftpd.conf/60AnonymousIBay
copy and paste this into it:
{
#------------------------------------------------------------
# How to handle logins from information bay accounts: chroot to the
# files part of the information bay directory.
#------------------------------------------------------------
my %accounts;
tie %accounts, 'esmith::config', '/home/e-smith/accounts';
my $key;
my $value;
$OUT .= "";
while (($key,$value) = each %accounts)
{
my ($type, %properties) = split (/\|/, $value, -1);
if ($type eq 'ibay')
{
#------------------------------------------------------------
# Figure out which combination of parameters to use. If
# PublicAccess parameter is present, this is e-smith 4.0.
# Otherwise, it's e-smith 3.0.
#------------------------------------------------------------
my $allow;
my $pass;
if ($properties{'PublicAccess'})
{
if ($properties{'PublicAccess'} eq 'none')
{
$allow = "127.0.0.1";
$pass = 1;
}
elsif ($properties{'PublicAccess'} eq 'local')
{
$allow = $localAccess;
$pass = 0;
}
elsif ($properties{'PublicAccess'} eq 'local-pw')
{
$allow = $localAccess;
$pass = 1;
}
elsif ($properties{'PublicAccess'} eq 'global')
{
$allow = 'all';
$pass = 0;
}
elsif ($properties{'PublicAccess'} eq 'global-pw')
{
$allow = 'all';
$pass = 1;
}
elsif ($properties{'PublicAccess'} eq 'global-pw-remote')
{
$allow = 'all';
$pass = 1;
}
}
elsif ($properties {'ReadAccess'} eq 'global')
{
if ($properties {'UsePassword'} eq 'yes')
{
$allow = 'all';
$pass = 1;
}
else
{
$allow = 'all';
$pass = 0;
}
}
else
{
if ($properties {'UsePassword'} eq 'yes')
{
$allow = $localAccess;
$pass = 1;
}
else
{
$allow = $localAccess;
$pass = 0;
}
}
# variables: $allow (IP), $pass (bool)
$OUT .= "\n";
$OUT .= "
\n";
$OUT .= " User $key\n";
$OUT .= " Group $key\n";
$OUT .= " AnonRequirePassword " . ($pass ? "on" : "off") . "\n";
$OUT .= " UseFtpUsers on\n";
$OUT .= " MaxClients 10\n";
$OUT .= " DisplayLogin welcome.msg\n";
$OUT .= " DisplayFirstChdir .message\n";
$OUT .= "
\n";
$OUT .= " Order Allow,Deny\n";
$OUT .= " Allow from $allow\n";
$OUT .= " Deny from all\n";
$OUT .= " \n";
$OUT .= "
\n";
$OUT .= " \n";
$OUT .= " AllowAll\n";
$OUT .= " \n";
$OUT .= " \n";
$OUT .= "\n";
}
}
}
crtl x to save
yes
enter
now expand the template
# /sbin/e-smith/expand-template /etc/proftpd.conf
That should allow your user to access all folders in his ibay.
Jon