Public bug reported:

Reproducer:

set -e
mkdir demo && cd demo
echo hi > file
echo hi > demo          # same basename as the directory itself
/usr/lib/cargo/bin/coreutils/cp -R . ../out


if ../out is not already present, this will fail with

cp: './demo' -> '../out/': Is a directory

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167118

Title:
  cp -R fails when a file has the same basename as its parent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2167118/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to