I'm on Fedora 33 and I would like initramfs to be readable by any user after each kernel upgrade. How can I change its default permissions?

cat /etc/kernel/postinst.d/noreadirfs.sh

#! /bin/bash

chmod 640 /boot/initramfs*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.