On Sun, Sep 06, 2009 at 02:38:18PM +0100, Colin Watson wrote: > > A GRUB_CHMOD > variable seems overkill, though.
Yes. Please not a new config option just for this. Just pick a reasonable mode and set to it. Auto-detection doesn't sound bad, although I'd be fine with just using 0400. > > Else I'd need to add a /etc/grub.d/999_chmod file in grub-installer > > which changes the mode of grub.cfg.new if the user wants to have a > > password. > > I think it'd be more sensible to do this in grub-mkconfig itself - it > doesn't really fit well into the /etc/grub.d/ hook system, which is > really just for generating output. Agreed. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel