Permission denied on grub.conf

Latest response

Hello,
I have recently setup a cobbler server to install new machines in our server room, and do a mass upgrade from RHEL5 to 6.8. I noticed that there is an issue accessing the file /boot/grub/grub.conf when I install with this method. When I installed CentOS 6.8 from the DVD, I could access this file normally.
The error I get is the following:

[root@hlwtest02 ~]# ls -l /boot/grub/
total 280
-rw-r--r--. 1 root root 63 Jan 30 13:24 device.map
-rw-r--r--. 1 root root 13428 Jan 30 13:24 e2fs_stage1_5
-rw-r--r--. 1 root root 12636 Jan 30 13:24 fat_stage1_5
-rw-r--r--. 1 root root 11780 Jan 30 13:24 ffs_stage1_5
-rw-------. 1 root root 880 Jan 30 13:24 grub.conf
-rw-r--r--. 1 root root 11772 Jan 30 13:24 iso9660_stage1_5
-rw-r--r--. 1 root root 13284 Jan 30 13:24 jfs_stage1_5
lrwxrwxrwx. 1 root root 11 Jan 30 13:24 menu.lst -> ./grub.conf
-rw-r--r--. 1 root root 11972 Jan 30 13:24 minix_stage1_5
-rw-r--r--. 1 root root 14428 Jan 30 13:24 reiserfs_stage1_5
-rw-r--r--. 1 root root 1341 May 6 2010 splash.xpm.gz
-rw-r--r--. 1 root root 512 Jan 30 13:24 stage1
-rw-r--r--. 1 root root 126148 Jan 30 13:24 stage2
-rw-r--r--. 1 root root 12040 Jan 30 13:24 ufs2_stage1_5
-rw-r--r--. 1 root root 11380 Jan 30 13:24 vstafs_stage1_5
-rw-r--r--. 1 root root 13980 Jan 30 13:24 xfs_stage1_5
[root@hlwtest02 ~]# cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/vda
[root@hlwtest02 ~]# cat /boot/grub/grub.conf
cat: /boot/grub/grub.conf: Permission denied
[root@hlwtest02 ~]# sestatus
SELinux status: disabled

There is no boot partition, so everything lies in the main / partition. I can change the file permissions with chmod, and changed it to rwx for all, but still could not read the file. On the other hand I could read other files in the directory (device.map for example). SELINUX is disabled and sestatus confirms it. Any idea which process, or package is causing this behaviour, because I am out of ideas.

Responses