> Using the example given here, the cp from rust-coreutils behaves the
same as gnucp on resolute and it's only the version that's currently in
stonking that has this regression in behavior from gnucp.

Hmm are you certain that you really tested the rust-coreutils on
Resolute? The `cp` binary is a symlink to `gnucp` by default on
Resolute.

I can reproduce it on Resolute as such:

root@coreutils-regression-tests-resolute:~# apt policy rust-coreutils
rust-coreutils:
  Installed: 0.8.0-0ubuntu3
  Candidate: 0.8.0-0ubuntu3
  Version table:
 *** 0.8.0-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status

root@coreutils-regression-tests-resolute:~# ls
test  test2

root@coreutils-regression-tests-resolute:~# ls test
file.txt

root@coreutils-regression-tests-resolute:~# coreutils cp -r test/./ test2
root@coreutils-regression-tests-resolute:~# ls -l test2
total 4
drwxr-xr-x 2 root root 4096 Sep 17 16:07 test

Note that I'm using `coreutils cp` as that is the multicall binary used
by rust-coreutils.

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

Title:
  cp -r with trailing dot slash copies directory instead of contents

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


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

Reply via email to