Skip to content

Permission of grub/menu.lst is not persistent #296

@vbatts

Description

@vbatts

Description

/boot/boot/grub/menu.lst permissions are 0755, and setting it to 0644 or 0600 is gone on reboot.

This could also be fixed by enforcing the permission by whatever is resetting it on boot

Impact

Low impact, just that the file is world readable, and doesn't need to be executable

Environment and steps to reproduce

  1. Set-up: tested on 2605.9.0 in qemu
  2. Action(s):
    a. chmod 0600 /boot/boot/grub/menu.lst
    b. systemctl reboot
    c. stat /boot/boot/grub/menu.lst

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions