I'm using Ubuntu 12.04 and I have /sys/kernel/debug/ with no read/execute permissions for anyone except root.
I can change that with sudo chmod +rx /sys/kernel/debug/
but the permissions are reset every time I boot the system. Is there a way to make these permission changes permanent?
Is there a good reason why I really should not do that?
/etc/rc.local
and it will perform this action automatically.chattr
command.