From owner-freebsd-stable Tue Jan 28 15: 2:58 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 699B937B401 for ; Tue, 28 Jan 2003 15:02:56 -0800 (PST) Received: from maul.immure.com (ns.immure.com [207.8.42.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD97B43F43 for ; Tue, 28 Jan 2003 15:02:54 -0800 (PST) (envelope-from bob@immure.com) Received: (from root@localhost) by maul.immure.com (8.12.6/8.12.6) id h0SN2kWn091549; Tue, 28 Jan 2003 17:02:46 -0600 (CST) (envelope-from bob@immure.com) Received: from luke.immure.com (luke.vieo.com [10.1.132.3]) by maul.immure.com (8.12.6/8.12.3) with ESMTP id h0SN2kwe091494; Tue, 28 Jan 2003 17:02:46 -0600 (CST) (envelope-from bob@immure.com) Received: (from root@localhost) by luke.immure.com (8.12.6/8.12.3) id h0SN2kBJ087652; Tue, 28 Jan 2003 17:02:46 -0600 (CST) (envelope-from bob@luke.immure.com) Received: from luke.immure.com (localhost [127.0.0.1]) by luke.immure.com (8.12.6/8.12.3) with ESMTP id h0SN2kfv087627; Tue, 28 Jan 2003 17:02:46 -0600 (CST) (envelope-from bob@luke.immure.com) Received: (from bob@localhost) by luke.immure.com (8.12.6/8.12.6/Submit) id h0SN2j52087626; Tue, 28 Jan 2003 17:02:45 -0600 (CST) Date: Tue, 28 Jan 2003 17:02:45 -0600 From: Bob Willcox To: Robert Ames Cc: freebsd-stable@freebsd.org Subject: Re: Problem with rcp -r Message-ID: <20030128230245.GI79144@luke.immure.com> Reply-To: Bob Willcox References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-scanner: scanned by Inflex 1.0.12.3 on luke.immure.com X-scanner: scanned by Inflex 1.0.12.3 on maul.immure.com Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am seeing this same problem (except for the protocol error) on my 4.7-stable systems. Is recursive rcp really broken in -stable, or am I halucinating here? Note that on my -current and old 3.5 systems rcp -r is working as expected. Here's what I get: bob@luke:pc /tmp> mkdir x bob@luke:pc /tmp> touch x/{a,b,c,d} bob@luke:pc /tmp> rcp -r x rancor:/tmp rcp: /tmp/x/a/b: Not a directory rcp: /tmp/x/a/b/c: Not a directory rcp: /tmp/x/a/b/c/d: Not a directory and on the target system we have just: bob@rancor:p7 /tmp> ls -l x total 0 -rw-r--r-- 1 bob wheel 0 Jan 28 17:00 a I have tried this same test on three of my relatively recent -stable systems here with identical results. Bob On Sat, Nov 02, 2002 at 12:04:32PM -0500, Robert Ames wrote: > In 4.7-RELEASE there seems to be a problem when using the -r option > with rcp. For example, doing rcp between two 4.7-RELEASE machines: > > # rcp -rp /etc testbox:/tmp > rcp: /tmp/etc/defaults/rc.conf/make.conf: Not a directory > rcp: /tmp/etc/defaults/rc.conf/make.conf/pccard.conf: Not a directory > rcp: /tmp/etc/defaults/rc.conf/make.conf/pccard.conf/periodic.conf: Not a > directory > rcp: /tmp/etc/defaults/rc.conf/make.conf/pccard.conf/periodic.conf: set > times: Not a directory > rcp: > /tmp/etc/defaults/rc.conf/make.conf/pccard.conf/periodic.conf/services: Not > a directory > rcp: protocol error: expected control record > rcp: lost connection > > Has this been fixed in -STABLE? > > > _________________________________________________________________ > Get a speedy connection with MSN Broadband.? Join now! > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Bob Willcox We seem to have forgotten the simple truth that bob@vieo.com reason is never perfect. Only non-sense attains Austin, TX perfection. -- Poul Henningsen [1894-1967] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message