openssh sftp rename command fails between cross-device file systems

Solution In Progress - Updated -

Issue

Attempting to rename a file using a remote openssh sftp shell session from one device/file system to another mounted on a separate volume on the system running openssh sftp server results in a generic failure:

sftp> rename /disk1/testfile1 /disk2/testfile1
Couldn't rename file "/disk1/testfile1" to "/disk2/testfile1": Failure

Environment

  • All major versions of Red Hat Enterprise Linux running openssh sftp server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In