Skip to content

docs(audit): Windows alternate-data-stream handling audit (WPC-1) - #4898

Merged
oferchen merged 1 commit into
masterfrom
docs/wpc-1-ads-audit
May 25, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/wpc-1-ads-audit

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Adds docs/audit/windows-ads-handling.md covering NTFS alternate
    data stream (ADS) handling: background, upstream rsync 3.4.1
    behaviour on Cygwin, current oc-rsync state, risk surface, options
    for WPC-2, and a recommendation.
  • Confirms upstream rsync has no ADS-aware code (FindFirstStream,
    BackupRead, :$DATA, streamname all absent from the upstream
    tree). Cygwin upstream sees only the unnamed primary stream.
  • Documents that oc-rsync already implements ADS-as-xattrs through
    crates/metadata/src/xattr_windows.rs and that the engine and
    fast_io copy paths are correctly hands-off for named streams.
  • Recommends WPC-2 spec option (a) plus a man-page note and an
    opt-in warning when -X is omitted on a Windows source with ADS.

Refs

Test plan

  • Docs-only change; no code paths exercised.
  • Verify the doc renders cleanly in the GitHub PR preview.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 25, 2026
@oferchen
oferchen merged commit 887589b into master May 25, 2026
10 checks passed
@oferchen
oferchen deleted the docs/wpc-1-ads-audit branch May 28, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant