Subject: Re: bin/24690
To: None <,,,>
From: None <>
List: netbsd-bugs
Date: 01/08/2005 15:07:38
Synopsis: have restore automatically set owner/mode without prompting

State-Changed-From-To: analyzed->closed
State-Changed-When: Sat, 08 Jan 2005 15:07:37 +0000

I went with the "Do what I mean" philosophy.  The permissions of the
"root" inode are now applied to the current working directory always
on a full restore, but not on a partial.  No stupid question, ever.

I've tried to permit a "special exception", in that if the user adds
a "." explictly to the file arguments, the root inode permissions will
be applied, but I doubt that that's going to be genuinely useful. For
one thing, if you don't use "-h" or "delete" (with "-i"), the entire
dump is going to be restored anyway, making the extra file arguments
moot, and for another, I can't seem to imagine a practical situation
where you might want that.

Thanks for filing this PR.  I'd been puzzling over this even before
you filed, but your PR served to keep this on the front burner over
the last couple of years, until a solution finally presented itself.