rclone/backend
Lesmiscore 67240bd541
sftp: fix directory creation races
If mkdir fails then before this change it would have thrown an
error.

After this change, if the error indicated that the directory
already exists then the error is not returned to the user.

This fixes a race condition when two rclone threads are trying to
create the same directory.
2022-09-14 16:45:35 +01:00
..
alias build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
all build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
amazonclouddrive build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
azureblob build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
b2 all: fix spelling across the project 2022-08-30 11:16:26 +02:00
box all: fix spelling across the project 2022-08-30 11:16:26 +02:00
cache build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
chunker all: fix spelling across the project 2022-08-30 11:16:26 +02:00
combine all: fix spelling across the project 2022-08-30 11:16:26 +02:00
compress all: fix spelling across the project 2022-08-30 11:16:26 +02:00
crypt all: fix spelling across the project 2022-08-30 11:16:26 +02:00
drive filter: Fix incorrect filtering with UseFilter context flag and wrapping backends 2022-09-05 16:19:50 +01:00
dropbox all: fix spelling across the project 2022-08-30 11:16:26 +02:00
fichier all: fix spelling across the project 2022-08-30 11:16:26 +02:00
filefabric all: fix spelling across the project 2022-08-30 11:16:26 +02:00
ftp ftp: Add force_list_hidden option 2022-09-14 12:10:58 +01:00
googlecloudstorage all: fix spelling across the project 2022-08-30 11:16:26 +02:00
googlephotos onedrive: cleanup brand name 2022-08-30 10:23:29 +02:00
hasher hasher: support metadata 2022-06-29 17:30:37 +01:00
hdfs build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
hidrive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
http docs: skip "Connection" suffix from FTP, SSH/SFTP and HTTP backend names 2022-06-21 23:43:00 +02:00
hubic Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
internetarchive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
jottacloud all: fix spelling across the project 2022-08-30 11:16:26 +02:00
koofr all: fix spelling across the project 2022-08-30 11:16:26 +02:00
local filter: Fix incorrect filtering with UseFilter context flag and wrapping backends 2022-09-05 16:19:50 +01:00
mailru build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
mega all: fix spelling across the project 2022-08-30 11:16:26 +02:00
memory build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
netstorage all: fix spelling across the project 2022-08-30 11:16:26 +02:00
onedrive all: fix spelling across the project 2022-08-30 11:16:26 +02:00
opendrive build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
pcloud all: fix spelling across the project 2022-08-30 11:16:26 +02:00
premiumizeme build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
putio build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
qingstor build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
s3 all: fix spelling across the project 2022-08-30 11:16:26 +02:00
seafile onedrive: cleanup brand name 2022-08-30 10:23:29 +02:00
sftp sftp: fix directory creation races 2022-09-14 16:45:35 +01:00
sharefile build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
sia build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
storj build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
sugarsync onedrive: cleanup brand name 2022-08-30 10:23:29 +02:00
swift all: fix spelling across the project 2022-08-30 11:16:26 +02:00
union build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
uptobox all: fix spelling across the project 2022-08-30 11:16:26 +02:00
webdav onedrive: cleanup brand name 2022-08-30 10:23:29 +02:00
yandex build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
zoho all: fix spelling across the project 2022-08-30 11:16:26 +02:00