Skip to content

rrsync: restore restricted-root paths - #1055

Open
steadytao wants to merge 1 commit into
RsyncProject:masterfrom
steadytao:fix/rrsync-root-relative-paths
Open

rrsync: restore restricted-root paths#1055
steadytao wants to merge 1 commit into
RsyncProject:masterfrom
steadytao:fix/rrsync-root-relative-paths

Conversation

@steadytao

Copy link
Copy Markdown
Member

Fixes #1037

Summary

  • preserve leading / as a path relative to the configured restricted root
  • anchor root-relative option operands such as --link-dest=/previous before the existing validation and pinning logic
  • preserve the existing -absolute behaviour
  • add regression coverage for /, --link-dest, repeated leading slashes and restricted-root escape attempts

@steadytao steadytao added run-ci and removed run-ci labels Aug 14, 2026
@steadytao

steadytao commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

@stapelberg @ptman could you please test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rrsync 3.4 broke incremental backups (fix not sufficient / working)

1 participant