I verified
https://github.com/teemtee/tmt/issues/5144#issuecomment-5677474729. The
regression is valid against GNU coreutils, however this is not a
regression within the rust-coreutils themselves.

This is a minimal reproducer:

$ mkdir test test2
$ echo a > test/file.txt

# rust-coreutils
$ cp -r test/./ test2
$ ls test2
test

# GNU
$ gnucp -r test/./ test2
$ ls test2
file.txt

# Omitting the trailing slash has the correct behavior for rust-coreutils
$ cp -r test/. test2
$ ls test2
file.txt

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

Title:
  [SRU] Backport 0.10.0 to Resolute

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


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

Reply via email to