Hi! On Mon, Dec 04, 2006 at 02:18:31PM +0100, Robert Urban wrote: >Hi Misc'ers,
>I did something stupid on my 4.0 server and lost the contents of /bin. >I restored by >booting from the install-cd, mounting /, /usr, and /var, and running > cd /root-mount; pax -rz -f /cd/4.0/i386/base40.tgz >(please don't ask what the stupid thing was). >[...] >My question is, does base40.tgz contain the permissions/ownership that >the files should >have after installation? Yes. >Is it appropriate to write a script which uses the permissions and >owner/group from base40.tgz to restore the same for all existing files >in the filesystem? >Or do file permissions/ownership somehow get modified during the >installation? No. Just extract it again, like tar xvzpf .../base40.tgz (or the equivalent pax invocation). >thanks, >Rob Urban Kind regards, Hannah.

