From owner-freebsd-stable Wed Oct 10 2:36:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailout05.sul.t-online.de (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 94E8937B40A for ; Wed, 10 Oct 2001 02:36:49 -0700 (PDT) Received: from fwd06.sul.t-online.de by mailout05.sul.t-online.de with smtp id 15rFnD-00088V-0T; Wed, 10 Oct 2001 11:36:47 +0200 Received: from pc5.abc (520067998749-0001@[217.80.36.182]) by fmrl06.sul.t-online.com with esmtp id 15rFmz-1uYHIGC; Wed, 10 Oct 2001 11:36:33 +0200 Received: (from nicolas@localhost) by pc5.abc (8.11.3/8.11.3) id f9A9YZv41922 for freebsd-stable@FreeBSD.ORG; Wed, 10 Oct 2001 11:34:35 +0200 (CEST) (envelope-from list@rachinsky.de) X-Authentication-Warning: pc5.abc: nicolas set sender to list@rachinsky.de using -f Date: Wed, 10 Oct 2001 11:34:34 +0200 From: Nicolas Rachinsky To: freebsd-stable@FreeBSD.ORG Subject: Re: cp -i -R Message-ID: <20011010113434.A41891@pc5.abc> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <20011009161204.A22196@pc5.abc> <3.0.5.32.20011009095525.031a30f0@mail.sage-american.com> <20011009172052.A37340@pc5.abc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i X-Sender: 520067998749-0001@t-dialin.net 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 On Tue, Oct 09, 2001 at 05:35:03PM -0700, "Gary W. Swearingen" wrote: > Nicolas Rachinsky writes: > > > nicolas@pc5 ~> cd test > > nicolas@pc5 ~/test> mkdir target > > nicolas@pc5 ~/test> cp /kernel target > > nicolas@pc5 ~/test> ln -s nonexistent kernel > ... > > nicolas@pc5 ~/test> cp -R -i kernel target > > nicolas@pc5 ~/test> cd target > > nicolas@pc5 ~/test/target> ls -l > > total 0 > > lrwxr-xr-x 1 nicolas users 11 Oct 9 17:08 kernel@ -> nonexistent > > Then do "cp -i /kernel target" and instead of asking if you want > to clobber "target/kernel", it creates "target/nonexistent"! I can reproduce this. Even "cp /kernel target" and "cp -f /kernel target" show the same behaviour. Nicolas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message