Bug 75155

Summary: lndir doesn't work with relative symlink
Product: [Retired] Red Hat Linux Reporter: hjl
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-21 10:21:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A tar ball to show the bug
none
A patch to fix relative symlinks
none
A new patch to fix a typo none

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.