bug#73865: cp 9.1+ fails to overwrite existing files even with -f under Cygwin

2024-10-29 Thread Paul Eggert
On 2024-10-29 11:42, brian.ing...@systematicsw.ab.ca wrote: I take it that should go into a different bug report OK, I'll follow up there and will close this bug report.

bug#73865: cp 9.1+ fails to overwrite existing files even with -f under Cygwin

2024-10-29 Thread Brian . Inglis
On 2024-10-18 11:32, Paul Eggert wrote: On 2024-10-18 09:47, Brian Inglis wrote: Hi folks, Versions of coreutils cp from 9.1-9.5 have been failing with error message:  "cp: cannot create regular file '/tmp/b/c': File exists" to overwrite existing files even with -f under Cygwin. What do

bug#73865: cp 9.1+ fails to overwrite existing files even with -f under Cygwin

2024-10-18 Thread Paul Eggert
On 2024-10-18 09:47, Brian Inglis wrote: Hi folks, Versions of coreutils cp from 9.1-9.5 have been failing with error message: "cp: cannot create regular file '/tmp/b/c': File exists" to overwrite existing files even with -f under Cygwin. What does strace say?

bug#73865: cp 9.1+ fails to overwrite existing files even with -f under Cygwin

2024-10-18 Thread Brian Inglis
Hi folks, Versions of coreutils cp from 9.1-9.5 have been failing with error message: "cp: cannot create regular file '/tmp/b/c': File exists" to overwrite existing files even with -f under Cygwin. I have been trying to run down how and where cp is missing a check that the file exists