From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3b526997cde15863,start X-Google-Attributes: gid111c93,public From: herve@News.BRI.NRC.CA (Herve Hogues) Subject: cp and broken links Date: 1999/03/22 Message-ID: <7d655m$15p$1@nrccsb2.di.nrc.ca>#1/1 X-Deja-AN: 457668187 Organization: National Research Council of Canada Newsgroups: comp.os.linux.alpha 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