[Bug 2167118] Re: cp -R fails when a file has the same basename as its parent
Thy Schepers
2167118 at bugs.launchpad.net
Sun Sep 13 12:36:00 UTC 2026
this has been fixed upstream and merged into uutils/coreutils main:
https://github.com/uutils/coreutils/pull/14530
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2167118
Title:
cp -R fails when a file has the same basename as its parent
Status in rust-coreutils package in Ubuntu:
Triaged
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2167118/+subscriptions
More information about the foundations-bugs
mailing list