Skip to content

cp: cp -rs symlink-to-dir dir should fail without creating symlink #9723

@oech3

Description

@oech3
$ mkdir a
$ ln -s a b
$ gnu-cp -rs b a
cp: a/b: can make relative symbolic links only in current directory # does not pu a/b
$ uu-cp -rs b a
$ ls a
b

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