LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-05-2001, 04:11 PM   #1
terrykem
LQ Newbie
 
Registered: Dec 2001
Posts: 1

Rep: Reputation: 0
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
 
Old 12-05-2001, 05:20 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
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.
 
Old 12-05-2001, 06:10 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...also if its red *and blinking as well* it means the symlink is b0rken, either due to deletion or failed/not installed packages.
 
Old 12-05-2001, 09:08 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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.
 
Old 12-06-2001, 08:30 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yea,

for a test try this in your home directory

ln -s bar fu

ls -l


 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Symlinks and .. smidgie82 Linux - General 2 12-21-2005 04:13 PM
? on symlinks eroica Linux - Software 1 09-21-2004 09:45 AM
symlinks not working right sidhighwind Linux - General 5 01-23-2004 12:34 AM
symlinks.. NSKL Slackware 3 05-26-2002 05:35 PM
Symlinks b0b0 Linux - General 2 11-08-2001 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration