1
mirror of https://github.com/rclone/rclone synced 2024-12-11 23:54:00 +01:00
rclone/backend/local
Nick Craig-Wood 1053d7e123 local: fix symlink/junction point directory handling under Windows
Before this commit rclone's handling of symlinks and junction points
under Windows was broken.  rclone treated them as files and attempted
to transfer them which gave the error "The handle is invalid".

Ultimately the cause of this was 3e43ff7414 which was a
workaround so files with reparse points (which are a kind of symlink)
would transfer correctly.

The solution implemented is to revert the above commit which will mean
that #614 will break again.  However there is now a work-around (which
will be signaled by rclone) to use the -L flag which wasn't available
when the original commit was made.

Fixes #2336
2018-06-10 12:25:03 +01:00
..
about_unix.go about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
about_windows.go about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
local_internal_test.go build: fix errors spotted by ineffassign linter 2018-05-05 17:32:41 +01:00
local_test.go Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
local.go local: fix symlink/junction point directory handling under Windows 2018-06-10 12:25:03 +01:00
read_device_other.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00
read_device_unix.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
remove_other.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
remove_test.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
remove_windows.go local: retry remove on Windows sharing violation error #2202 2018-04-07 17:36:26 +01:00
tests_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00