Date: Thu, 27 Jul 2000 18:50:44 -0600 (MDT) From: "Forrest W. Christian" <forrestc@imach.com> To: Enno Davids <nconedd@peppermint.national.com.au> Cc: sgcccdc@citec.qld.gov.au, danp@erinyes.net, pab@purplecat.net, freebsd-isp@FreeBSD.ORG Subject: Re: sendmail question (sorry if this is the wrong list) Message-ID: <Pine.BSF.4.21.0007271847120.18898-100000@workhorse.iMach.com> In-Reply-To: <200007280137.LAA15708@peppermint.national.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Jul 2000, Enno Davids wrote: > | > Is it guaranteed not to stuff up permissions/ownerships? > | > | Guarantee? You've got to be kidding :) > | > | I think it is LESS LIKELY to do so. > > Ordinarily this is why us old timers use tar or cpio. Something like this: > > cd srcdir ; tar -cf - . | (cd destdir ; tar -xvpf - ) > > Note the use of the 'p' flag to preserve perms/owners/etc. It looks like under FreeBSD the move is safe.... According to the man page anyways. (I too have used the tar on systems where the move was not safe) I've also used cp then rm -r with the appropriate flags... That way you can make sure everything works and cp tends to be a lot better.. - Forrest W. Christian (forrestc@imach.com) AC7DE ---------------------------------------------------------------------- iMach, Ltd., P.O. Box 5749, Helena, MT 59604 http://www.imach.com Solutions for your high-tech problems. (406)-442-6648 ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007271847120.18898-100000>