From owner-freebsd-bugs Fri May 8 18:53:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03803 for freebsd-bugs-outgoing; Fri, 8 May 1998 18:53:31 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03771 for ; Fri, 8 May 1998 18:53:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA14780; Fri, 8 May 1998 18:50:02 -0700 (PDT) Received: from ziplink.net (relay-0.ziplink.net [206.15.168.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03370 for ; Fri, 8 May 1998 18:50:05 -0700 (PDT) (envelope-from mi@xxx.video-collage.com) Received: from xxx.video-collage.com (xxx.video-collage.com [199.232.254.68]) by ziplink.net (8.8.7/8.8.7) with ESMTP id VAA17662 for ; Fri, 8 May 1998 21:49:57 -0400 (EDT) Received: (from mi@localhost) by xxx.video-collage.com (8.8.8/8.8.7) id VAA03423; Fri, 8 May 1998 21:49:51 -0400 (EDT) (envelope-from mi) Message-Id: <199805090149.VAA03423@xxx.video-collage.com> Date: Fri, 8 May 1998 21:49:51 -0400 (EDT) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/6558: fetch does breaks absolute pathnames Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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