Ayush Sharma
2278207ab9
local: fix server-side copy on macOS when the destination exists - fixes #10117
...
Server-side copies with the local backend on macOS failed with `errno -1` when the destination file already existed, for example with `--inplace` or when used under chunker. This was because copyfile(3) with COPYFILE_CLONE implies COPYFILE_EXCL.
This clones to a temporary name in the same directory and renames it over the destination, which keeps APFS cloning for overwrites and leaves the destination untouched if the clone fails.
2026-10-26 17:39:57 +00:00
..
2024-08-08 13:41:31 +01:00
2026-10-07 12:16:42 +01:00
2026-10-14 12:36:16 +01:00
2026-10-13 12:06:54 +01:00
2026-08-21 12:23:31 +01:00
2026-10-08 22:49:31 +01:00
2026-10-17 17:40:25 +01:00
2026-07-12 13:26:17 +01:00
2026-10-05 17:39:34 +01:00
2026-08-21 12:23:31 +01:00
2026-07-16 14:47:03 +01:00
2026-09-16 17:09:39 +01:00
2026-09-26 12:51:07 +01:00
2026-01-18 20:48:33 +01:00
2026-10-07 12:16:42 +01:00
2026-10-14 12:07:51 +01:00
2026-10-15 16:40:06 +01:00
2026-09-08 16:57:43 +01:00
2024-09-06 18:20:10 +01:00
2025-02-28 11:31:14 +00:00
2026-10-13 12:19:46 +01:00
2026-07-13 11:22:04 +01:00
2026-09-05 12:14:46 +01:00
2026-10-18 18:12:50 +01:00
2026-08-21 12:23:31 +01:00
2025-12-01 19:04:02 +00:00
2026-07-07 12:35:37 +01:00
2026-10-14 12:12:01 +01:00
2026-07-13 13:53:29 +01:00
2026-10-05 17:39:34 +01:00
2026-10-18 17:18:35 +01:00
2026-09-01 14:21:52 +01:00
2026-09-22 11:03:16 +01:00
2026-09-22 11:03:16 +01:00
2026-08-11 19:32:12 +01:00
2026-09-23 16:00:46 +01:00
2026-09-01 14:21:52 +01:00
2025-06-24 15:04:45 +01:00
2026-09-01 14:21:52 +01:00
2026-10-26 17:39:57 +00:00
2026-09-01 14:21:52 +01:00
2026-07-20 17:37:16 +01:00
2025-12-17 10:21:12 +00:00
2026-10-08 22:49:33 +01:00
2026-10-13 12:14:25 +01:00
2026-09-01 14:21:52 +01:00
2026-09-15 16:38:20 +01:00
2026-08-04 19:29:21 +01:00
2026-10-08 22:49:33 +01:00
2026-10-26 20:09:22 +09:00
2026-09-05 12:14:46 +01:00
2026-09-23 15:58:36 +01:00
2026-08-29 13:13:34 +01:00
2026-09-01 14:21:52 +01:00
2025-04-08 15:14:00 +01:00
2026-09-01 14:21:52 +01:00
2026-10-18 17:22:37 +01:00
2026-09-05 12:14:46 +01:00
2026-10-18 18:17:39 +01:00
2026-09-22 11:03:16 +01:00
2026-02-18 12:11:52 +00:00
2026-08-11 19:32:12 +01:00
2026-09-21 17:27:57 +01:00
2024-04-22 19:29:12 +02:00
2026-05-06 10:51:16 +01:00
2026-07-02 11:30:15 +01:00
2026-10-13 12:08:20 +01:00
2025-09-14 15:58:20 +01:00
2026-10-13 12:00:50 +01:00
2026-09-08 16:40:17 +01:00
2026-08-21 12:23:31 +01:00