GNU bug report logs - #18681
The Linux cp command has bugs

Previous Next

Package: coreutils;

Reported by: "Polehn, Mike A" <mike.a.polehn <at> intel.com>

Date: Fri, 10 Oct 2014 17:30:02 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 18681 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Polehn, Mike A" <mike.a.polehn <at> intel.com>, 18681 <at> debbugs.gnu.org
Subject: Re: bug#18681: The Linux cp command has bugs
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





This bug report was last modified 10 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.