mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:25:03 +01:00
df4e6079f1
Assume the Stat size of links is zero (and read them instead) On some virtual filesystems (such ash LucidLink), reading a link size via a Stat call always returns 0. However, on unix it reads as the length of the text in the link. This may cause errors like this when syncing: Failed to copy: corrupted on transfer: sizes differ 0 vs 13 Setting this flag causes rclone to read the link and use that as the size of the link instead of 0 which in most cases fixes the problem. Fixes #4950 Signed-off-by: Riccardo Iaconelli <riccardo@kde.org> |
||
---|---|---|
.. | ||
about_unix.go | ||
about_windows.go | ||
encode_darwin.go | ||
encode_other.go | ||
encode_windows.go | ||
fadvise_other.go | ||
fadvise_unix.go | ||
lchtimes_unix.go | ||
lchtimes.go | ||
local_internal_test.go | ||
local_test.go | ||
local.go | ||
read_device_other.go | ||
read_device_unix.go | ||
remove_other.go | ||
remove_test.go | ||
remove_windows.go | ||
symlink_other.go | ||
symlink.go | ||
tests_test.go |