From nobody  Wed Jun 24 10:53:54 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id KAA22144;
          Wed, 24 Jun 1998 10:53:54 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199806241753.KAA22144@hub.freebsd.org>
Date: Wed, 24 Jun 1998 10:53:54 -0700 (PDT)
From: cmetz@inner.net
To: freebsd-gnats-submit@freebsd.org
Subject: Install program fails to put leading / in FTP CWD command
X-Send-Pr-Version: www-1.0

>Number:         7051
>Category:       i386
>Synopsis:       Install program fails to put leading / in FTP CWD command
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 24 11:00:01 PDT 1998
>Closed-Date:    Thu Jun 25 00:25:22 PDT 1998
>Last-Modified:  Thu Jun 25 15:20:02 PDT 1998
>Originator:     Craig Metz
>Release:        3.0-980426-SNAP
>Organization:
NRL
>Environment:
>Description:
The install program translates a FTP URL of
"ftp://132.250.90.8/home/FreeBSD"
to
"CWD home/FreeBSD"
Since the FTP daemon drops the user in his home directory, the CWD
doesn't get him where he's trying to go. We kluged it with a URL of
"ftp://132.250.90.8/../FreeBSD"
This is not necessarily FreeBSD's fault; the URL syntax and user
misconceptions of it is the real problem.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Thu Jun 25 00:25:22 PDT 1998 
State-Changed-Why:  
broken as designed I think.  putting a leading slash there would seem 
to be an error to me. 

From: Bill Fenner <fenner@parc.xerox.com>
To: cmetz@inner.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/7051: Install program fails to put leading / in FTP CWD command 
Date: Thu, 25 Jun 1998 13:39:33 PDT

 In fact, according to RFC1738, the way to request a leading / in a
 CWD is to start the URL with %2F, e.g. ftp://132.250.90.8/%2Fhome/FreeBSD .
 
 Perhaps this should be documented in the ftp install help.
 
   Bill

From: Craig Metz <cmetz@inner.net>
To: Bill Fenner <fenner@parc.xerox.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/7051: Install program fails to put leading / in FTP CWD command 
Date: Thu, 25 Jun 1998 16:45:27 -0300

 In message <199806252039.NAA14777@mango.parc.xerox.com>, you write:
 >In fact, according to RFC1738, the way to request a leading / in a
 >CWD is to start the URL with %2F, e.g. ftp://132.250.90.8/%2Fhome/FreeBSD .
 >
 >Perhaps this should be documented in the ftp install help.
 
   Since this would be a reasonably frequently wanted thing when doing a non-
 anonymous FTP of the install sets, it would be nice if this were documented
 somewhere or a one-line reminder was around the prompt window.
 
 									-Craig

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: cmetz@inner.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/7051: Install program fails to put leading / in FTP CWD command 
Date: Thu, 25 Jun 1998 15:12:53 -0700

 > The install program translates a FTP URL of
 > "ftp://132.250.90.8/home/FreeBSD"
 > to
 > "CWD home/FreeBSD"
 > Since the FTP daemon drops the user in his home directory, the CWD
 > doesn't get him where he's trying to go. We kluged it with a URL of
 > "ftp://132.250.90.8/../FreeBSD"
 
 Erm, I think this really is the expected behavior.  If you're
 specifying an ftp://foo.bar/pub/baz URL, it's implicit that you're
 saying "relative to the anonymous FTP user" for pub/baz and this
 certainly works everywhere else. :)  Unless you can really point out
 how changing this would not be a bug in and of itself, I will close
 this PR.
 
 Regards,
 
 - Jordan
>Unformatted:
