Date: Wed, 10 Oct 2001 11:34:34 +0200 From: Nicolas Rachinsky <list@rachinsky.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: cp -i -R Message-ID: <20011010113434.A41891@pc5.abc> In-Reply-To: <t8het8fi2w.et8@localhost.localdomain> References: <20011009161204.A22196@pc5.abc> <3.0.5.32.20011009095525.031a30f0@mail.sage-american.com> <20011009172052.A37340@pc5.abc> <t8het8fi2w.et8@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 09, 2001 at 05:35:03PM -0700, "Gary W. Swearingen" <swear@blarg.net> wrote: > Nicolas Rachinsky <list@rachinsky.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011010113434.A41891>