[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ls behaves stragely with "-L -l -d" options
From: |
paul |
Subject: |
ls behaves stragely with "-L -l -d" options |
Date: |
Mon, 7 Aug 2006 18:37:58 -0400 (EDT) |
If I create a directory witha file in it, and a link to the directory:
kamandi:/tmp/ls_test$ mkdir dir
kamandi:/tmp/ls_test$ touch dir/file
kamandi:/tmp/ls_test$ ln -s ./dir link
ls -L -l -d on the link gives me the file information for the directory,
but the name of the link. This seems like a bug to me.
kamandi:/tmp/ls_test$ ls -L -l -d link
drwxr-x--- 2 socolow eng 4096 Aug 7 14:55 link
I observed this with the ls in coreutils 5.2.1.
Thanks,
-Socolow
- ls behaves stragely with "-L -l -d" options,
paul <=