rclone/cmd
Nick Craig-Wood 50a3a96e27 serve sftp: fix crash on unsupported operations (eg Readlink)
Before this change the sftp handler returned a nil error for unknown
operations which meant the server crashed when one was encountered.

In particular the "Readlink" operations was causing problems.

After this change the handler returns ErrSshFxOpUnsupported which
signals to the remote end that we don't support that operation.

See: https://forum.rclone.org/t/rclone-serve-sftp-not-working-in-windows/12209
2019-10-09 16:12:21 +01:00
..
about build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
authorize build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cachestats build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cat build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
check build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cleanup build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cmount mount: allow files of unkown size to be read properly 2019-09-14 13:22:33 +01:00
config config: add reconnect, userinfo and disconnect subcommands. 2019-08-12 13:49:23 +01:00
copy build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
copyto build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
copyurl copyurl: add --auto-filename flag for using file name from url in destination path (#3451) 2019-09-03 17:25:19 +01:00
cryptcheck build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cryptdecode build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
dbhashsum Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
dedupe build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
delete build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
deletefile build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
genautocomplete build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
gendocs build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
hashsum Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
info build_csv: fix output of control characters 2019-09-30 22:00:25 +01:00
link build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
listremotes build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
ls build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsd build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsf build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsjson build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
lsl build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
md5sum build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
memtest build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mkdir build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mount mount: fix panic on File.Open - Fixes #3595 2019-10-06 19:26:58 +01:00
mountlib vfs: move writeback of dirty data out of close() method into its own method (FlushWrites) and remove close() call from Flush() 2019-10-09 10:07:29 +01:00
move build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
moveto build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
ncdu build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
obscure build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
purge build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rc Add context to all http.NewRequest #3257 2019-09-09 23:27:07 +01:00
rcat build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rcd cmd/rcd: Address ZipSlip vulnerability 2019-09-29 11:14:21 +01:00
reveal build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rmdir build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rmdirs build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
serve serve sftp: fix crash on unsupported operations (eg Readlink) 2019-10-09 16:12:21 +01:00
settier build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
sha1sum build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
size build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
sync build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
touch build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
tree build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
version build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cmd.go config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07:09 +01:00
help.go help: add short options to backend documentation also 2019-09-14 18:24:05 +01:00
progress.go lib/terminal: factor from cmd/progress, swap Azure/go-ansiterm for mattn/go-colorable 2019-10-08 19:59:47 +01:00
siginfo_darwin.go cmd: fix up stats printing on macOS after accounting change 2019-07-28 20:38:20 +01:00
siginfo_others.go cmd: add siginfo handler 2018-06-02 17:35:13 +01:00