This works for me.
On Fri, 2025-05-09 at 22:23 -0700, Paul Eggert wrote: > On 2025-05-09 02:32, Pádraig Brady wrote: > > This is actually being looked at in: > > https://bugzilla.redhat.com/2363149 > > > > There is a proposed patch there. > > I looked at that patch, and although it sorta works it has a memory leak > and it issues unnecessary system calls in the normal case. I wrote a > more comprehensive patch and installed it into Gnulib; see attached > (which combines two Gnulib patches). I've merged this into bleeding-edge > Coreutils on Savannah so someone who builds from Git can simply do that > to try it out. > > I hope that someone who can reproduce the bug can try this patch out. I > didn't reproduce the bug on my RHEL 9.5 host with a NetApp NFS server, > but NFS is kinda tricky that way.