Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question
    
@MichaelHampton, I am looking at the directory, added the image of the link icons for clarity. –  Question Overflow Dec 15 '12 at 7:57
    
can you please post the output of the following 2 commands? "ls -l /etc/grub.conf" and "ls -l /etc/grub.cfg" –  Waleed Hamra Dec 15 '12 at 9:13
    
@WaleedHamra, please see my edit as per your request. –  Question Overflow Dec 15 '12 at 9:51
    
Your server has a GUI? o.O –  Tom O'Connor Dec 15 '12 at 12:11

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
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 6 '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 6 '13 at 10:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.