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
..
2026-09-09 10:24:48 +01:00
2026-07-31 16:56:33 +01:00
2026-10-18 17:22:37 +01:00
2026-10-08 14:15:46 +01:00
2026-10-17 15:48:14 +01:00
2026-10-08 10:53:05 +01:00
2026-09-05 17:53:08 +01:00
2026-07-31 16:56:33 +01:00
2026-10-19 20:30:38 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-10-09 12:06:35 +01:00
2026-08-27 17:28:04 +01:00
2026-10-26 17:39:57 +00:00
2026-10-07 12:16:42 +01:00
2026-09-21 12:26:31 +01:00
2026-07-31 16:56:33 +01:00
2026-10-08 17:16:24 +02:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-10-05 17:39:34 +01:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-09-21 14:09:21 +01:00
2026-10-08 22:49:33 +01:00
2026-09-03 12:06:27 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-09-21 12:26:31 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-10-02 15:44:25 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-10-20 10:46:00 +01:00
2026-10-08 22:49:33 +01:00
2026-10-18 17:22:37 +01:00
2026-07-31 16:56:33 +01:00
2026-10-18 18:17:39 +01:00
2026-08-27 17:59:08 +02:00
2026-09-10 16:57:15 +01:00
2026-08-27 17:59:08 +02:00
2026-09-05 17:53:08 +01:00
2026-10-13 12:17:17 +01:00
2026-09-08 16:40:17 +01:00
2026-07-31 16:56:33 +01:00