#1370 assigned defect

SFTP: consider supporting hard link extension

Reported by: davidsarah Owned by: davidsarah
Priority: major Milestone: undecided
Component: code-frontend-ftp-sftp Version: 1.8.2
Keywords: sftp sshfs link Cc:
Launchpad Bug:

Description (last modified by warner)

OpenSSH's SFTP server recently (in version 5.7) added a hardlink extension, and there is a patch to support it in sshfs.

Hardlinks are closer in semantics to the links that Tahoe directories have to their children, than are symlinks. So we might want to support this even though we do not support symlinks (yet).

Change History (4)

comment:1 Changed at 2011-02-24T03:42:17Z by davidsarah

  • Component changed from unknown to code-frontend
  • Keywords sftp sshfs link added

comment:2 Changed at 2011-02-24T03:53:58Z by davidsarah

  • Description modified (diff)

Update patch link to newer version posted on fuse-sshfs.

comment:3 Changed at 2011-02-26T01:28:09Z by davidsarah

  • Owner changed from nobody to davidsarah
  • Status changed from new to assigned

Documentation from http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr.bin/ssh/PROTOCOL?rev=1.17;content-type=text%2Fplain

10. sftp: Extension request "hardlink@openssh.com"

This request is for creating a hard link to a regular file. This
request is implemented as a SSH_FXP_EXTENDED request with the
following format:

	uint32		id
	string		"hardlink@openssh.com"
	string		oldpath
	string		newpath

On receiving this request the server will perform the operation
link(oldpath, newpath) and will respond with a SSH_FXP_STATUS message.
This extension is advertised in the SSH_FXP_VERSION hello with version
"1".

comment:4 Changed at 2014-12-02T19:45:18Z by warner

  • Component changed from code-frontend to code-frontend-ftp-sftp
  • Description modified (diff)
Note: See TracTickets for help on using tickets.