Bug 75155 - lndir doesn't work with relative symlink
Summary: lndir doesn't work with relative symlink
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-04 21:33 UTC by hjl
Modified: 2007-04-18 16:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-21 10:21:59 UTC
Embargoed:


Attachments (Terms of Use)
A tar ball to show the bug (311 bytes, application/octet-stream)
2002-10-04 21:34 UTC, hjl
no flags Details
A patch to fix relative symlinks (1.59 KB, patch)
2002-10-04 21:35 UTC, hjl
no flags Details | Diff
A new patch to fix a typo (1.65 KB, patch)
2002-10-05 00:37 UTC, hjl
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2003:067 0 high SHIPPED_LIVE : Updated XFree86 packages provide security and bug fixes 2003-06-25 04:00:00 UTC

Description hjl 2002-10-04 21:33:10 UTC
If you have relative symlinks, lndir doesn't work
too well. I will upload a tar file. Do

# tar xfz l.tar.gz
# cd linux/src
# lndir ../../gnu/src
# ls -l
total 0
lrwxrwxrwx    1 hjl      users           6 Oct  4 14:32 bar -> ../bar
lrwxrwxrwx    1 hjl      users          13 Oct  4 14:32 foo -> ../import/foo
# cat foo bar
cat: foo: No such file or directory
cat: bar: No such file or directory

Comment 1 hjl 2002-10-04 21:34:18 UTC
Created attachment 78764 [details]
A tar ball to show the bug

Comment 2 hjl 2002-10-04 21:35:46 UTC
Created attachment 78765 [details]
A patch to fix relative symlinks

Comment 3 hjl 2002-10-05 00:37:28 UTC
Created attachment 78804 [details]
A new patch to fix a typo

Comment 4 Mike A. Harris 2002-12-21 10:21:59 UTC
Applied to XFree86 4.2.1-10.2 build.  Should be on p.r.c soon also, and in
all future erratum (when released).

Thanks H.J.


Note You need to log in before you can comment on or make changes to this bug.