Hello!

> > grub-install is not really designed to be run by ordinary users e.g. for
> > creating floppy images etc. People who want this should write a separate
> > script anyway.
> 
>   Why? If a user has write permission granted for a floppy device
> file, the user can run "/sbin/grub-install --root-directory=/floppy"
> safely. Anyway, why do "ordinary" users want to run "/sbin/*"? Isn't
> the directory /sbin for sysadmins?

I see. You want it to be user-proof. Then we need to check every "cp" and
every "mv", otherwise we are screwed if all steps but one succeed. And
probably /boot/grub/device.map will be incomplete when grub is run by a
user.

Anyway, I like the idea of running "make floppy" before (or without)
running "make install". I'll have a look how to implement is in
grub-install

Pavel Roskin

Reply via email to