Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180019 - sys-apps/coreutils-6.7-r1: wrong output of ls -LR
Summary: sys-apps/coreutils-6.7-r1: wrong output of ls -LR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-27 15:30 UTC by Daniel Oehry
Modified: 2007-05-27 15:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Oehry 2007-05-27 15:30:59 UTC
ls -LR should follow symbolic link directories which it does not, as the following output shows.

Output of ls -LR
.:
dir  symdir

./dir:
file1  file2

Output of ls -lLR on the same directory
.:
total 0
drwxr-xr-x 2 daniel users 80 2007-05-27 17:20 dir
drwxr-xr-x 2 daniel users 80 2007-05-27 17:20 symdir

./dir:
total 0
-rw-r--r-- 1 daniel users 0 2007-05-27 17:20 file1
-rw-r--r-- 1 daniel users 0 2007-05-27 17:20 file2

./symdir:
total 0
-rw-r--r-- 1 daniel users 0 2007-05-27 17:20 file1
-rw-r--r-- 1 daniel users 0 2007-05-27 17:20 file2


Reproducible: Always

Steps to Reproduce:
1. run ls -LR on a directory with symbolic link directories
2.
3.




TeX uses ls -LR in mktexlsr to produce ls-R files. Because TeX Documentation is symlinked from /usr/share/doc/ to /usr/share/texmf documentation cannot be found anymore with texdoc.
Comment 1 Daniel Oehry 2007-05-27 15:32:35 UTC
The problem seems to be solved with the latest coreutils-6.9-r1. Now the output of ls -LR is as expected:

.:
dir  symdir

./dir:
file1  file2

./symdir:
file1  file2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-27 15:45:16 UTC
(In reply to comment #1)
> The problem seems to be solved with the latest coreutils-6.9-r1. Now the output
> of ls -LR is as expected:

Closing then.