[CentOS] grub permission denied

Tue Sep 9 18:31:53 UTC 2008
Barry Brimer <lists at brimer.org>

Quoting Jay <jaybeattie at gmail.com>:

> I have one server that I can not edit the /etc/grub/grub.conf file. I get
> permission denied
> as root. I can change other files just not grub.conf. after unmounting
> /dev/hda from /boot
> and mounting under /g for a test the same things occurs.  Even in single
> mode I can not
> modify / delete / move the file. When umounted I did a fsck on it and all is
> fine. also can not
> edit menu.lst which links to grub.conf.   what am I missing?
>
> Thanks
> -Jay

Is SELinux enabled?


What do you get for these?:

lsattr /boot/grub/grub.conf
ls -la /boot/grub/grub.conf

Is there anything in /var/log/audit or /var/log/messages?