Subject: bug#32393: coreutils-8.30 'mv' error for file on libfuse mounted shares

From: Paul Eggert <[email-masked]>
Date: Wed, 8 Aug 2018 02:31:54 -0700

John Stanley wrote:
> perhaps the issue is related to the RENAME_NOREPLACE flag
My guess is that you have a fuse callback that's returning a positive value for 
an error number. It's supposed to return negative values. See:

https://sourceforge.net/p/fuse/mailman/message/35616558/

If my guess is right, you need to fix your fuse callback. I suggest starting by 
looking at this recent fix to sshfs:

https://github.com/libfuse/sshfs/commit/6480b66bd64a2d2f58db6fc0a3320f4464f4669e

The bottom line is that if you're playing with bleeding-edge and buggy 
filesystems, that's the place to look for bugs.