[comp.sys.dec] using restore on a DECstation 3100

thompson@batcomputer.tn.cornell.edu (Steve Thompson) (10/01/89)

I have noticed that when transferring an entire filesystem from one
disk to another (to a new filesystem just created there) using the
output of dump piped into restore, the directory files created on
the output disk were all owned by root, although the files within
each directory had proper ownerships. I used something like this:

	% dump 0f - /usr | (cd /newusr; restore xf -)

I was logged in as root at the time. Does anyone know why the directory
ownerships were not preserved correctly? I see nothing in the man pages
that tells me why. Thanks,

Steve

rwood@dec.com (Richard Wood) (10/07/89)

The last question restore asks (at least in interactive mode) is whether you 
want it to set the original owner, mode, etc.  I suspect that if you answer 
this question incorrectly, everything will remain owned by the uid that ran 
restore.  Is it possible this is what happened?
-- -----------------------------------------------------------------------------
Richard Wood         Corporate Worksystems Team          Digital Equipment Corp.
================================================================================