From owner-freebsd-bugs Sun Nov 17 09:26:09 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA15792 for bugs-outgoing; Sun, 17 Nov 1996 09:26:09 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA15757 for ; Sun, 17 Nov 1996 09:25:51 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id EAA22747; Mon, 18 Nov 1996 04:22:00 +1100 Date: Mon, 18 Nov 1996 04:22:00 +1100 From: Bruce Evans Message-Id: <199611171722.EAA22747@godzilla.zeta.org.au> To: freebsd-bugs@freefall.freebsd.org, wosch@cs.tu-berlin.de Subject: Re: bin/2040: make world fails after cp -pR of /usr/bin Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > cp -pR breaks hard links, (chpass, chfn, chsh, ypchpass, ypchfn and > >ypchsh become 6 differents programs). > > Use tar or cpio for coping, e.g.: > $ tar cf - /usr/bin | (cd /backup; tar xf -) tar and cpio and pax don't preserve the immutable flags, so this breaks things in a different way. Bruce