[maintainer] coreutils-9.5 and 96 regression in cp (and maybe ln? mv?)
Corinna Vinschen
corinna-cygwin@cygwin.com
Sun Mar 30 21:43:34 GMT 2025
Hi Brian
Regression in 9.5 and 9.6:
$ ls -l /bin/setfacl*
-rwxr-xr-x 1 corinna Administrators 109379 Mar 30 21:24 /bin/setfacl.exe
$ cd <cygwin-build-dir>
$ ls -l x86_64-pc-cygwin/winsup/utils/setfacl*
-rwxr-xr-x 1 corinna vinschen 109379 Mar 30 21:19 x86_64-pc-cygwin/winsup/utils/setfacl.exe
-rw-r--r-- 1 corinna vinschen 46188 Mar 30 21:19 x86_64-pc-cygwin/winsup/utils/setfacl.o
With coreutils 9.0:
$ cp x86_64-pc-cygwin/winsup/utils/setfacl /bin
$ echo $?
0
$ ls -l /bin/setfacl*
-rwxr-xr-x 1 corinna Administrators 109379 Mar 30 21:25 /bin/setfacl.exe
With coreutils 95 and 9.6:
$ cp x86_64-pc-cygwin/winsup/utils/setfacl /bin
cp: cannot create regular file '/bin/setfacl': File exists
I think the .exe suffix handling affects not only cp(1), but I didn't
check explicitely. It looks like code from 9.0 is missing in 9.5 and 9.6.
Thanks,
Corinna
More information about the Cygwin
mailing list