Bug 166666 - nash readlink doesn't necessarily work with links to directories
Summary: nash readlink doesn't necessarily work with links to directories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-24 14:22 UTC by Bill Nottingham
Modified: 2014-03-17 02:55 UTC (History)
1 user (show)

Fixed In Version: 5.0.29-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-27 16:50:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2005-08-24 14:22:28 UTC
$ mkdir foo
$ ln -s foo bar
$ echo "readlink ./bar" | /sbin/nash --quiet
/home/notting/tmp/foo
$ echo "readlink bar" | /sbin/nash --quiet
error realpath bar/foo: 2

The second *should* work, AFAIK.

Comment 1 Peter Jones 2006-02-27 16:50:42 UTC
"bar" and "./bar" should work now.  Note that "bar/." will still not expand.


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