Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 1996 04:22:00 +1100
From:      Bruce Evans <bde@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
Message-ID:  <199611171722.EAA22747@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
> >	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611171722.EAA22747>