Subject: Re: bug#18681: The Linux cp command has bugs

From: Paul Eggert <[email-masked]>
Date: Fri, 10 Oct 2014 11:13:44 -0700

Polehn, Mike A wrote:
> Using: cp -f -r <dir a> <dir b>
>
> For each file being copied it asked:
>
> cp: overwrite XXXXXXXXXXXXXXXXX?

That's not what I observe here (see below).  Perhaps there's something else 
going on, maybe an alias.  For example, I couldn't get the cp to work without 
also using -T.  Can you please give an exact recipe for reproducing the problem 
on your platform?

$ mkdir a b
$ echo a >a/f
$ echo b >b/f
$ cp -f -r -T a b
$ cat b/f
a