Skip to content

realpath: -s -e does not fail on a dangling symlink #15996

Open

Description

@sylvestre
$ ln -s missing dangling
$ realpath --no-symlinks -e dangling; echo $?

GNU:

realpath: dangling: No such file or directory
1

uutils prints $PWD/dangling and exits 0.

Reported in #15254 (found by a differential fuzzer; reproduced against GNU coreutils 9.12).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions