Date: Fri, 14 Feb 1997 18:01:26 -0500 (EST) From: Andrew Y Ng <ayn@Ngbert.org> To: Shawn Ramsey <root@luke.cpl.net> Cc: questions@freebsd.org Subject: Re: tar ownerships? Message-ID: <Pine.NEB.3.95q.970214175922.14028A-100000@andrew.Ngbert.org> In-Reply-To: <Pine.BSF.3.95.970214133912.1238A-100000@luke.cpl.net>
next in thread | previous in thread | raw e-mail | index | archive | help
well, u need to specify the '-p' flag to preserver the ownership and permisison, imho. /ayn On Fri, 14 Feb 1997, Shawn Ramsey wrote: > Last night, I backed up all the important information on one of our > FreeBSD servers, so I could upgrade it to 2.2-GAMMA do to the security > flaw in 2.1.5, and the fact it would only boot from floppy. I used tar to > back everything up, then put all the files onto another FBSD machine, then > ftp'd them back over after this system was back up. Everything worked > fine, except the home directorys didnt keep the ownership permisions?! > Anyone know why this would happen? I used the following command to back it > up : > > tar cvfz home.tgz /usr/home/* > > every other directory kept the proper ownerships and > permissions(/usr/home did kepp the right file permissions though..) > > thanks for any ideas.. since the /usr/home dir. isnt TOO big(maybe 30-40 > users) I had to change the ownerships by hand. :( When upgrading to 2.2R I > don't want to have to do that again! :) > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95q.970214175922.14028A-100000>