Repository navigation
Conversation
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Routes the `--acls` apply path through `acl_windows::read_dacl_sddl` / `write_dacl_sddl` on Windows so DACL preservation rides the SDDL fidelity payload from WAS-2/3 (#4354) instead of re-encoding only the named ACEs. Cross-platform interop keeps the WAS-4 (#4361) `dacl_to_posix_mode` and `posix_mode_to_dacl` helpers as the lossy fall-back when one peer is POSIX. Wire format reserves `user.win32.security_descriptor` (matches Samba's NT-ACL slot on Linux backends) inside the existing xattr stream. The sender appends an `XattrEntry` with the source's SDDL via `metadata::sddl_xattr_entry`; the receiver consumes it in `apply_xattrs_from_list`, dispatching to `write_dacl_sddl` on Windows and silently dropping the slot on POSIX so the cross-platform rsync ACL payload from `crates/protocol/src/acl/wire` still drives the lowered POSIX bits. Local Windows-to-Windows `sync_acls` likewise prefers the SDDL round-trip and falls back to the named-ACE encoder only on volumes that refuse to serve a descriptor (FAT32, network mounts). Tests cover the new helpers on every platform and round-trip a custom DACL through a Windows tempdir under `#[cfg(windows)]` so the new dispatch shape is exercised end-to-end on `windows-latest` nextest.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Homebrew formula.
Changes
Testing