search for: ssh_fxp_rename

Displaying 1 result from an estimated 1 matches for "ssh_fxp_rename".

2008 Feb 23
3
sftp-server failing to rename a file
What to try: $ cd /tmp $ touch a b $ sftp localhost sftp> cd /tmp sftp> rename a b Couldn't rename file "/tmp/a" to "/tmp/b": Failure sftp> rm b Removing /var/tmp/b sftp> rename a b sftp> So, the sftp "rename" command refuses to rename a file to an existing one. Instead of using the rename(2) system call, which is present at least on