Nick Craig-Wood
00bf6c19d8
drive: detect shortcut loops to avoid infinite recursion
...
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
2026-07-02 11:06:39 +01:00
..
2024-08-08 13:41:31 +01:00
2026-05-01 13:41:07 +01:00
2026-04-13 12:48:38 +01:00
2026-04-13 18:05:52 +01:00
2026-04-24 15:55:53 +01:00
2026-03-03 14:01:11 +00:00
2025-11-18 16:09:06 +00:00
2026-04-19 13:31:27 +01:00
2025-06-12 18:31:01 +01:00
2026-05-06 17:47:53 +01:00
2025-09-14 15:58:20 +01:00
2025-11-04 14:50:56 +00:00
2025-11-27 14:42:11 +00:00
2026-01-18 20:48:33 +01:00
2026-05-29 12:51:26 +01:00
2026-07-02 11:06:39 +01:00
2026-06-25 11:54:14 +01:00
2024-09-06 18:20:10 +01:00
2025-02-28 11:31:14 +00:00
2026-06-08 11:54:43 +01:00
2026-04-10 20:46:55 +01:00
2025-02-28 11:31:14 +00:00
2026-05-06 11:40:07 +01:00
2025-05-27 14:28:25 +01:00
2025-12-01 19:04:02 +00:00
2026-02-18 12:11:52 +00:00
2025-11-04 23:00:46 +01:00
2025-07-31 11:38:51 +01:00
2025-02-28 11:31:14 +00:00
2026-05-11 11:05:22 +01:00
2026-05-24 19:57:31 +01:00
2026-06-01 17:11:23 +01:00
2026-01-08 12:05:37 +00:00
2025-09-04 10:37:27 +01:00
2026-04-24 17:20:18 +01:00
2026-05-14 10:53:04 +01:00
2025-06-24 15:04:45 +01:00
2026-04-08 08:49:42 +01:00
2026-05-30 10:57:55 +01:00
2026-02-18 12:11:52 +00:00
2026-07-01 10:06:53 +01:00
2025-12-17 10:21:12 +00:00
2025-11-04 23:00:46 +01:00
2026-05-19 11:21:17 +01:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2026-04-20 12:16:10 +01:00
2026-02-18 12:11:52 +00:00
2024-08-12 13:35:44 +01:00
2025-07-31 11:38:51 +01:00
2026-05-24 17:50:01 +01:00
2025-02-28 11:31:14 +00:00
2025-04-08 15:14:00 +01:00
2025-09-15 12:45:57 +01:00
2026-06-30 20:28:50 +01:00
2026-01-08 12:05:37 +00:00
2026-05-30 11:01:20 +01:00
2026-02-18 12:11:52 +00:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2025-09-22 15:33:44 +01:00
2024-04-22 19:29:12 +02:00
2026-05-06 10:51:16 +01:00
2026-01-18 20:48:33 +01:00
2025-11-10 15:56:06 +00:00
2025-09-14 15:58:20 +01:00
2026-06-03 18:04:15 +01:00
2025-11-13 13:47:40 +00:00
2026-02-18 12:11:52 +00:00