mirror of
https://github.com/rclone/rclone.git
synced 2026-07-11 08:15:24 -04:00
A folder shortcut pointing at one of its own ancestor folders (for example a shortcut to FolderX placed inside FolderX) made rclone recurse forever when dereferencing shortcuts, duplicating the folder contents until the disk was full. Rclone now detects when a folder shortcut targets an ancestor directory using the directory cache, leaves that shortcut out of the listing and logs an ERROR, so the rest of the drive can still be copied. Fixes #7118 Fixes #9565 Closes #9051