R-1214: the capped copy refuses any path with a symlink in it (security review: a link under /mnt pointing outside resolves elsewhere for the daemon); red-proved; unreleased
gates / gates (push) Successful in 1m53s

This commit is contained in:
admin committed 2026-10-22 17:51:14 +02:00
1 parent 03c0a693b8
commit ae394670c1
3 files changed
+33 -3

No files matched your search

+4 -1
View File
@@ -12,7 +12,10 @@
`/mnt/`, where the controller and the Docker daemon see the same paths: a path on the controller's own data volume
differs for the daemon, and a capped `--delete` there would mirror an EMPTY folder over the copy. Those paths, a box
whose image cannot be read and a container that cannot start (exit 125) keep the plain in-process rsync; an rsync
failure inside the container is an error. Tests `TestR1214_*` (3, Docker-free seams), red-proved both ways.
failure inside the container is an error. A path with a SYMLINK anywhere in it never takes the container either
(a link under /mnt pointing outside resolves elsewhere for the daemon — found by the commit's security review the
same night; `filepath.EvalSymlinks` must return the path itself). Tests `TestR1214_*` (4, Docker-free seams),
red-proved each way.
## Unreleased — two data-loss candidates fixed (R-1187 c, R-1189 d), 2026-10-22 night