Description of problem: Since coreutils-8.30, the mv command is incompatible with sshfs <=3.4.0): The rename call has been modified, and sshfs code report an invalid return code which triggers the message "Numerical result out of range" Version-Release number of selected component (if applicable): fuse-sshfs 3.4.0 coreutils-8.30 How reproducible: Always Steps to Reproduce: 1. mount a sshfs volume: sshfs fileserver: ~/mnt 2. touch ~/mnt/yyy 3. mv ~/mnt/yyy ~/WWW/mnt/xxx Actual results: mv: cannot move '/home/user/mnt/yyy' to '/home/user/mnt/xxx': Numerical result out of range Expected results: mv done Additional info: This bug has been corrected in release 3.5.0 on https://github.com/libfuse/sshfs So please upgrade the version
Same problem here 3 different F29 machines, await the update, thanks!
+1 with this problem.
Reason: Recently mv(1) got to the habit of attempting renameat2() syscall with flags. It's not expected to be supported by all fs backends; if some fs backend does not support flags, a fallback to standard renameat() is available. sshfs does not support flags, and thus it fails the rename if flags are passed. Intent is to fail with EINVAL which indicates to mv to go for the fallback. However, the signature of the errno is mistaken, and libfuse can't interpret the value it receives from sshfs_rename; hence it fails with ERANGE instead of EINVAL, which is bogus for mv, thus it gives up, reporting the ERANGE. (The bug was introduced in sshfs 3.0.0, but it got triggered only by the new mv behavior.) Fix: Upstream fixed the bug in sshfs 3.5.0: https://github.com/libfuse/sshfs/commit/6480b66
Can we get a fix for this? This is a rather crippling bug.
Any change to get in the near future a new mv package to fix this bug?
fuse-sshfs-3.5.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-200e6036d3
Came here to report this as a bug. Downloaded fuse-sshfs-3.5.1-1.fc29 and it does indeed fix the problem. Thank you!
fuse-sshfs-3.5.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-200e6036d3
fuse-sshfs-3.5.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.