Article delegate-en/3187 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3186@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: overlaid servers causes problems
15 Apr 2006 20:56:56 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


On 04/14/06(18:44) you pnqgabdyi-po5c3izwfbvr.ml@ml.delegate.org wrote
in <_A3186@delegate-en.ML_>
> I have delegate configured like this (though all on one line):
>   
>    delegated -P21 SERVER=ftp LOGDIR=/var/log LOGFILE=delegate-21 CACHE=no PERMIT="*:*:*"  REMITTABLE="*" 
>    MOUNT="/a/b/* ftp://firsthost.com/a/b/*"
>    MOUNT="/a/b/c/d/e/f/g/* ftp://otherhost/a/b/c/d/e/f/g/*"
> 
> Then I do this:
> 
> ftp delegatehost
> user:me
> pass:mypass
> cd /a/b/c/d/e/f
> <delegate will log into firsthost.com here and be in /a/b/c/d/e/f >
> ls
> <displays listing of /a/b/c/d/e/f>
> ls
> <displays identical listing of /a/b/c/d/e/f>
> pwd
> <displays /a/b/c/d/e/f>
> cd g
> <CWD successful, but does not actually log in yet>
> ls
> <delegate will log into otherhost.com here and display contents of /a/b/c/d/e/f/g, then cwd to />
> ls
> <displays root directory listing rather than /a/b/c/d/e/f/g>
> pwd
> <displays />
>  
> 
> The cwd / that occurs on login to otherhost.com seems to occur due to the configuration of the proxy.  Its a proftpd that's chroot jailed which causes it to push you into / (or your home if that is defined/created) when you login.  If I remove the chroot jail just for testing, everything works successfully, but this isnt something I can do for security reasons.
> 
> - Anthony 

I think the following should be used instead of your second MOUNT:

  MOUNT="/a/b/c/d/e/f/g/* ftp://otherhost/*"

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V