3

I just upgraded my server to Fedora 17 which made a switch of my bootloader from GRUB Legacy to GRUB2. There are two symbolic links in the /etc folder that points to the files grub.conf and grub.cfg in /boot/grub and /boot/grub2 respectively. Though the targets seem correct, the link icons are displaying an X status which seems to indicate that the links are broken. Upon right-clicking the property type, it states "link to unknown". The file size of the link corresponds exactly with the file size of the target file, so, why does the links appear to be broken?

The image of the link icons:

enter image description here

As requested, the following are the outputs from the commands:

$ ls -l /etc/grub.conf
lrwxrwxrwx. 1 root root 22 Jul 14  2011 /etc/grub.conf -> ../boot/grub/grub.conf

$ ls -l /etc/grub2.cfg
lrwxrwxrwx. 1 root root 22 Dec 10 18:57 /etc/grub2.cfg -> ../boot/grub2/grub.cfg
Question Overflow
  • 2,103
  • 7
  • 30
  • 45

1 Answers1

1

The X shows that Nautilus cannot resolve symlink to cfg-files. Most likely you execute Nautilus as a regular user, but config files have 700 security permissions and root as an owner. So you haven't permissions to read grub.cfg and grub.conf.

dchirikov
  • 640
  • 4
  • 6
  • Your explanation makes sense some sense to me. So can I say that the X status not just reflects a broken link, but whether the file to which it is linked is accessible to the user? – Question Overflow Jan 06 '13 at 10:09
  • I think so. But I never use gui on the server and not very often maintain server as a ordinary user :) Strictly speaking symlink is broken anyway: target is inaccessible. The reason could be absence of the file or security issues. – dchirikov Jan 06 '13 at 10:34