mirror of
https://github.com/rclone/rclone.git
synced 2025-02-04 05:08:23 +02: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>