SFTP: consider supporting hard link extension #1370

Open
opened 2011-02-24 03:41:44 +00:00 by davidsarah · 2 comments
davidsarah commented 2011-02-24 03:41:44 +00:00
Owner

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).

OpenSSH's SFTP server recently (in version 5.7) added a [hardlink extension](https://bugzilla.mindrot.org/show_bug.cgi?id=1555), and there is a [patch to support it in sshfs](http://sourceforge.net/mailarchive/forum.php?thread_name=20110221103749.GA12166%40miek.nl&forum_name=fuse-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).
tahoe-lafs added the
unknown
major
defect
1.8.2
labels 2011-02-24 03:41:44 +00:00
tahoe-lafs added this to the undecided milestone 2011-02-24 03:41:44 +00:00
tahoe-lafs added
code-frontend
and removed
unknown
labels 2011-02-24 03:42:17 +00:00
davidsarah commented 2011-02-24 03:53:58 +00:00
Author
Owner

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

Update patch link to newer version posted on fuse-sshfs.
davidsarah commented 2011-02-26 01:28:09 +00:00
Author
Owner

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".
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". ```
tahoe-lafs added
code-frontend-ftp-sftp
and removed
code-frontend
labels 2014-12-02 19:45:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1370
No description provided.