From a9df363091b67caa5adce4e646c0fb9de5a07f47 Mon Sep 17 00:00:00 2001 From: exarkun <> Date: Fri, 8 Jan 2021 16:42:39 +0000 Subject: [PATCH] Getting rid of FTP - https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3583 [Imported from Trac: page SftpFrontend, version 97] --- SftpFrontend.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SftpFrontend.md b/SftpFrontend.md index 07af8da..8055272 100644 --- a/SftpFrontend.md +++ b/SftpFrontend.md @@ -54,7 +54,7 @@ Tahoe's SFTP frontend includes several workarounds and extensions to make it fun Mutable parts of a filesystem should only be accessed via a single sshfs mount (this is a stronger restriction than the [write coordination directive](http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/write_coordination.rst) against writing mutable parts of a filesystem via more than one gateway). Data loss may result for concurrently accessed files if this restriction is not followed. -When writing a file to the Tahoe filesystem, sshfs does not wait for the 'close' request to complete before reporting to the application that the file has been successfully closed (#1059). Therefore, you should not shut down your gateway node immediately after writing files via sshfs, otherwise those files may be lost. It is possible that an upload could fail (due to a network error, lack of storage space, etc.); such failures will not be reported to applications using sshfs. This also implies that during the upload, a file could be visible via SFTP but not via the Tahoe WUI, CLI, or FTP frontends. +When writing a file to the Tahoe filesystem, sshfs does not wait for the 'close' request to complete before reporting to the application that the file has been successfully closed (#1059). Therefore, you should not shut down your gateway node immediately after writing files via sshfs, otherwise those files may be lost. It is possible that an upload could fail (due to a network error, lack of storage space, etc.); such failures will not be reported to applications using sshfs. This also implies that during the upload, a file could be visible via SFTP but not via the Tahoe WUI, CLI, or other frontends. ([This patch](http://allmydata.org/trac/tahoe-lafs/raw-attachment/wiki/SftpFrontend/sshfs.c.patch) makes sshfs wait for close requests to complete, but may cause its own compatibility problems; the patch is provided only for testing purposes.)