It is, however, working properly.  The problem is that in the first 
example, you specified the -l first...this makes ls think that you are 
looking to list the current directory's contents, of which mysql is a 
part.

In the second example, the order causes ls to think that you want to 
actually list the contents of the mysql directory.

On Wed, 4 Dec 2002, Vidiot wrote:

> Let me start out by saying that I think that ls  is not working the way
> I expect it.
> 
> If I do a ls -la in the directory that contains symbolic links, the links
> are displayed, such as:
> 
> lrwxrwxrwx    1 root     root           16 Dec  4 11:01 mysql -> /usr/local/mysql
> 
> But, if I do a ls -al on mysql, I get:
> 
> total 0
> drwxrwxr-x    2 root     users        4096 Dec  4 10:59 .
> drwxr-xr-x   18 root     root         4096 Dec  4 10:59 ..
> 
> 
> Sorry, not the expected behaviour.  I do not want it to traverse the link.
> So, to the man page I went.  I see a -L option.  so I try it:
> 
> total 0
> drwxrwxr-x    2 root     users        4096 Dec  4 10:59 .
> drwxr-xr-x   18 root     root         4096 Dec  4 10:59 ..
> 
> 
> Same damn result.  Yes, the directory is currently empty.
> 
> I am running RH 7.1 and want ls to return to the old behaviour of not
> traversing symbolic links, or have an option that works.
> 
> Is there an option that works, or do I need to submit a bug to the e-mail
> address listed in the man page?
> 
> MB
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to