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