My understanding is the behaviour is correct: when 'cp' is copying to a
directory, it will copy *under* the target directory, not *over* it. So
it will start the copy and later it will notice it is copying
recursively -- and immediately stop.
Nevertheless, I am open to suggestions ;-)
** Changed in: coreutils (Ubuntu)
Importance: Undecided => Low
Status: New => Incomplete
--
incorrect cp(1) behaviour upon "mkdir foo; cp -r foo foo"
https://bugs.launchpad.net/bugs/154602
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs