Hi folks,

I had to revert 9.1, as with 9.1+, cp fails to overwrite existing files even with -f and just complains the files exist!

I have traced the heck out of the operations and have been unable to track down exactly what it is (not?) doing to decide not to check if the files exist and not detect and handle existing files!

If anyone else has any ideas where it is going wrong, or how to fix what is going wrong, please let me know, and I can release a patched version.


On 2024-10-18 07:29, David Engraf via Cygwin wrote:
we also run into issues with 9.0 due to the incorrect handling of symlinks.

The coreutils Cygwin repository already includes 9.4 and 9.2 on the playground branch [1]. Any plans to release one of these versions?

On 30.05.24 10:05, Lluís Batlle i Rossell via Cygwin wrote:
there are 3 coreutils versions in cygwin: 8.26, 8.32 and 9.0.

8.32 has a big bug on "cp" that leaks file descriptors. Copying many
files it dies with Too many open files.

9.0 has a bug that makes any chmod fail silently if it is applied to
symlink.

Both bugs have the impact that we are stuck to coreutils 8.26 for our
build scripts, that use 'cp -R' and 'chmod -R' and would otherwise fail.

Can someone update to a newer coreutils? 9.1 or later.

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                -- Antoine de Saint-Exupéry

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to