#649045 cp -fv: File is removed before it is copied upon

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
Regid Ichira
Date:
2011-11-17 03:42:05 UTC
Severity:
normal
#649045#5
Date:
2011-11-17 03:38:49 UTC
From:
To:
$ touch testFile1 testFile2
$ chmod -v -w testFile2
mode of `testFile2' changed from 0644 (rw-r--r--) to 0444 (r--r--r--)
$ cp -vf testFile1 testFile2
`testFile1' -> `testFile2'
removed `testFile2'

  I would expect the order of the messages to be reversed.  Logically,
testFile2 was removed before it was copied upon.  I have noticed that
copying the file works.  I merely think that the printed messages
should reflect the logical order of actions.