[Bug 11956] New: realpath/readlink -f with non-existent symlink target has incorrect behavior

bugzilla at busybox.net bugzilla at busybox.net
Tue Jun 11 23:36:32 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11956

            Bug ID: 11956
           Summary: realpath/readlink -f with non-existent symlink target
                    has incorrect behavior
           Product: Busybox
           Version: 1.31.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: teabee89 at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Repro:
$ cd /tmp
$ ln -s target_does_not_exist symlink

Coreutils (expected):
$ readlink -f symlink
/tmp/target_does_not_exist
$ realpath symlink
/tmp/target_does_not_exist

Busybox (incorrect):
$ readlink -f symlink
realpath: symlink: No such file or directory
$ realpath symlink
realpath: symlink: No such file or directory

This is a different bug from https://bugs.busybox.net/show_bug.cgi?id=11021

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list