Subject: bin/15419: $ ftp ftp://ftp.com/private/foo/blah.tgz broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cagney@mac.com>
List: netbsd-bugs
Date: 01/29/2002 09:42:31
>Number:         15419
>Category:       bin
>Synopsis:       $ ftp ftp://ftp.com/private/foo/blah.tgz broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 29 09:43:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Cagney
>Release:        1.5.2 userland, ZA kernel
>Organization:
>Environment:
ac131313@nettle$ uname -a
NetBSD localhost 1.5ZA NetBSD 1.5ZA (NETLUX) #5: Sat Jan 19 13:28:10 EST 2002     boor@localhost:/usr/src/sys/arch/macppc/compile/NETLUX macppc

>Description:
FTP, won't pass through non-readable directories when they
are part of the path to the file specified on the command
line.



>How-To-Repeat:
Given an ftp site with directory structure:

	private         +x-rw
	  foo           +xr
	    blah.tgz    +r

The command:

$ ftp ftp://ftp/private/foo/blah.tgz

doesn't work yet

$ ftp ftp
ftp> cd private/foo
ftp> get blah.tgz

does


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: