grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chmod of generated grub.cfg


From: Robert Millan
Subject: Re: chmod of generated grub.cfg
Date: Sun, 6 Sep 2009 17:01:36 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]