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
Quoting Jay jaybeattie@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?
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?
I should have stated that SELinux is disabled.
Here is a listing:
[root@nfs /]# lsattr /boot/grub/grub.conf ----i-------- /boot/grub/grub.conf
[root@nfs /]# ls -ls /boot/grub/grub.conf 4 -rw------- 1 root root 2057 Mar 27 2006 /boot/grub/grub.conf
Nothing in the audit directory and messages looks ok.
Centos 5 Old kernal that's why I want to upgrade :)
2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/Linux
Thanks again