From: herve@News.BRI.NRC.CA (Herve Hogues)
Subject: cp and broken links
Date: 1999/03/22 [thread overview]
Message-ID: <7d655m$15p$1@nrccsb2.di.nrc.ca> (raw)
Hello all,
I am running Linux release 5.2 (Apollo) Kernel 2.1.122 on an alpha
and just noticed that the cp -arf fails to copy broken links e.g:
# mkdir /tmp/dir
# cd /tmp/dir ; ln -s ../f
# cp -arf dir dir2
cp: dir2/f: No such file or directory
# echo $status
1
On the other hand on an intel running 5.2 Kernel 2.0.36 the
directory gets copied without complaining and with exit status 0
as it should.
Both system use /bin/cp from fileutils-3.16-10.rpm
Is this a kernel problem?
-herve
reply other threads:[~1999-03-22 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox