Subject: cross-filesystem copying broken on macOS with coreutils >= 9.0

From: Sudhip Nashi <[email-masked]>
Date: Sun, 14 Nov 2021 22:02:33 -0600

Hello,

Cross-filesystem copying seems to have been broken in the latest coreutils release on macOS. Running a command like ‘cp /usr/bin/clear /tmp/test’ appears to return successfully, but if one analyzes /tmp/test, it’s filled with NULL characters. However, copying works fine when the source and destination file are on the same filesystem. Do you know what might be causing this?

Thanks in advance,
Sudhip Nashi