LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   symlinks not working (http://www.linuxquestions.org/questions/linux-general-1/symlinks-not-working-9682/)

terrykem 12-05-2001 04:11 PM

symlinks not working
 
We are running Redhat 7.0 and no matter which directory we go into that contains symlinks and do a ls -l it shows the symlinks in red. We have reload Redhat with no change. We have tried everything we know of to do. Anybody have any ideals of what causes this.

Thanks
Terry

isajera 12-05-2001 05:20 PM

pretty sure it's a bash option. or it might be an ls option... actually... yeah... it's an ls option, although i don't remember off the top of my head what the enviro-variables are. check "man ls" - it will probably have some info. most distros have the directories, executables, regular files, and symlinks differently colored by default under bash so that it's easier to distinguish them.

unSpawn 12-05-2001 06:10 PM

...also if its red *and blinking as well* it means the symlink is b0rken, either due to deletion or failed/not installed packages.

DMR 12-05-2001 09:08 PM

A symlink will also flash red (which, as unSpawn said, means it is b0rked) if you don't have access privileges to the file it points to, or to the directory that file resides in. This will happen, for example, if you are logged as a regular user and view symlinks to programs or directories that only root can access.

DavidPhillips 12-06-2001 08:30 PM

yea,

for a test try this in your home directory

ln -s bar fu

ls -l


:p


All times are GMT -5. The time now is 03:31 AM.