Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 21:49:51 -0400 (EDT)
From:      Mikhail Teterin <mi@video-collage.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/6558: fetch does breaks absolute pathnames
Message-ID:  <199805090149.VAA03423@xxx.video-collage.com>

next in thread | raw e-mail | index | archive | help

>Number:         6558
>Category:       bin
>Synopsis:       fetch -c /tmp -f somefile does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May  8 18:50:01 PDT 1998
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
Video Collage, Inc.
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

	2.2.6-BETA FreeBSD 2.2.6-BETA #0: Tue Mar 24 13:28:00 EST 1998

>Description:

	fetch -c /somedir -f somefile -h server
is _quetly_ translated into
	fetch -c somedir -f somefile -h server
which, of course, breaks if the user's home directory on the server
is not /

>How-To-Repeat:

	setenv FTP_LOGIN your_login
	setenv FTP_PASSWORD yourPassword
	fetch -v -v -v -v -c /tmp -f fixit.flp.bz -h www
	...
	User your_login logged in.
	Sending: TYPE I
	Type set to I.
	Sending: CWD tmp
	tmp: No such file or directory.
	fetch: www: tmp: File unavailable (e.g., file not found, no access)

Same problem occurs when using the URL mode as in
	fetch -v -v -v -v -o - ftp://www//tmp/fixit.flp.bz
Same result as above.

>Fix:
	
	Use some other tool. Providing extra slashes does not help
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805090149.VAA03423>