Bug 166666 - nash readlink doesn't necessarily work with links to directories
Summary: nash readlink doesn't necessarily work with links to directories
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:
Keywords:
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)

(edit)
Clone Of:
(edit)
Last Closed: 2006-02-27 16:50:42 UTC


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.