From owner-freebsd-bugs Wed Dec 17 20:50:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA17547 for bugs-outgoing; Wed, 17 Dec 1997 20:50:04 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA17539; Wed, 17 Dec 1997 20:50:02 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 17 Dec 1997 20:50:02 -0800 (PST) Resent-Message-Id: <199712180450.UAA17539@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, "Brent J. Nordquist" Received: from mixer.visi.com (root@mixer.visi.com [204.73.178.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA16843 for ; Wed, 17 Dec 1997 20:39:37 -0800 (PST) (envelope-from nordquis@visi.com) Received: from thumper.visi.com (nordquis@[209.98.98.3] (may be forged)) by mixer.visi.com (8.8.6/8.7.5) with ESMTP id WAA04815 for ; Wed, 17 Dec 1997 22:18:36 -0600 (CST) Received: (from nordquis@localhost) by thumper.visi.com (8.8.5/8.6.12) id WAA08221 for FreeBSD-gnats-submit@freebsd.org; Wed, 17 Dec 1997 22:18:35 -0600 (CST) Message-Id: <199712180418.WAA08221@thumper.visi.com> Date: Wed, 17 Dec 1997 22:18:35 -0600 (CST) From: "Brent J. Nordquist" Reply-To: "Brent J. Nordquist" To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/5333: RFC1738 changes to fetch break non-anonymous FTP Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5333 >Category: bin >Synopsis: RFC1738 changes to fetch break non-anonymous FTP >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 17 20:50:00 PST 1997 >Last-Modified: >Originator: Brent J. Nordquist >Organization: None >Release: FreeBSD 3.0-CURRENT i386 >Environment: Affects (tested on) 3.0-CURRENT-971208 and 2.2-STABLE-971212 against ftpd on Solaris 2.5.1, SunOS 4.1.4, and UnixWare. >Description: The recent changes to usr.bin/fetch/ftp.c (1.8&9 and 1.3.2.4&5) cause non-anonymous FTP fetches to fail. >How-To-Repeat: When FTP_LOGIN and FTP_PASSWORD are set, the two forms (ftp://host/path/to/file.txt and -h host -c path/to -f file.txt) both result in the same error: fetch: host: path: File unavailable (e.g., file not found, no access) Note that the third error token ("path") is the first component; this is suspiciously similar to the change description for rev 1.8. A regular ftp command with the same login, password, path, and file works fine. >Fix: Reverting to rev 1.7 or 1.3.2.3 fixes the problem. >Audit-Trail: >Unformatted: