Stop a backup on a symlink whose target cannot be read #275

Merged
clawbot merged 1 commits from fix-unreadable-symlink-skip-errors into next 2026-10-08 00:12:14 +02:00
1 Commits
Author SHA1 Message Date
sneak a7e097402a Stop a backup on a symlink whose target cannot be read (closes #269)
check / check (push) Waiting to run
When readlink failed, the scanner logged at debug level and left the
symlink out of the snapshot, and the run reported success even without
--skip-errors. The error now goes through the same handling as any
other entry the walk cannot read: the run aborts, or with --skip-errors
the symlink is skipped with the usual "Failed to access" error line.

A symlink removed between the walk's lstat and the readlink also
aborts the run, as an entry that vanishes during the walk already does.

Model: opus-5-5
2026-10-07 21:25:49 +00:00