Repository navigation
fix: stash every received ACL under --fake-super - #8348
Merged
Merged
Conversation
oferchen
added a commit
that referenced
this pull request
Nov 10, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 10, 2026 20:03
c5b7dca to
7466dcd
Compare
oferchen
added a commit
that referenced
this pull request
Nov 10, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 10, 2026 20:36
7466dcd to
790db2c
Compare
oferchen
added a commit
that referenced
this pull request
Nov 11, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 11, 2026 07:42
790db2c to
52e6b44
Compare
oferchen
added a commit
that referenced
this pull request
Nov 11, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 11, 2026 08:48
52e6b44 to
6ddfa1b
Compare
oferchen
added a commit
that referenced
this pull request
Nov 11, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 11, 2026 09:49
6ddfa1b to
f91119c
Compare
oferchen
added a commit
that referenced
this pull request
Nov 11, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 11, 2026 10:32
f91119c to
3e5ab1f
Compare
oferchen
added a commit
that referenced
this pull request
Nov 11, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 11, 2026 10:49
3e5ab1f to
ea2d254
Compare
oferchen
added a commit
that referenced
this pull request
Nov 11, 2026
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 11, 2026 10:58
ea2d254 to
d19577a
Compare
Owner
Author
|
Merge train: this pull request failed its batch run on its own (https://github.com/oferchen/rsync/actions/runs/43040542625). Failed required checks: upstream-testsuite / upstream testsuite, upstream-testsuite / upstream testsuite (root), upstream-testsuite-tcp / upstream testsuite, . It is held out of batches until its head changes. |
oferchen
force-pushed
the
fix/receiver-fake-super-dir-acls
branch
from
November 13, 2026 12:06
d19577a to
ac5148e
Compare
oferchen
added a commit
that referenced
this pull request
Nov 14, 2026
…odebase (#8381) Updates and cleans up root documentation against the current codebase and upstream rsync 3.5.1 reference:\n\n- **README.md**: Update required status check count from 15 to 16 and include `rustdoc links` to match the repository ruleset.\n- **SECURITY.md**: Remove stale claim that `--fake-super` is unimplemented (implemented in PR #8348; `daemon-namecvt-empty-response` passes on Linux non-root legs), and update cargo-fuzz target counts to 36 total / 26 in `fuzz/` (adding `connection_handoff`) / 31 daily sweep targets.\n- **CHANGELOG.md**: Add recent `[Unreleased]` entries (#8354, #8364, #8372, #8375) and remove stray blank lines inside `### Changed`.
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.
Summary
Under
--fake-super, the network receiver now stashes every received ACL in the%aacl/%daclxattrs instead of applying it, as 3.5.1 does. Before, only regular files written through disk_commit took the stash path. Directories, devices, specials, alt-dest matches, batch replay and up-to-date files got the real ACL applied, and they had no stash.Stacked on #8332.
Changes
fix: keep group_obj when condensing a wire-received fake-super ACLRsyncAcl::condense_for_fake_super_storere-applied the sender's strip (rsync_acl_strip_perms(), acls.c:142-159) to an ACL that had already been stripped on the wire.mask == NO_ENTRYand also blanked agroup_objthat differs from the mask.group::entry (acls.c:1228-1238,duo_item->raclverbatim after recv_rsync_acl()'s mask restoration, acls.c:1000-1007).fix: stash ACLs under --fake-super on every receiver pathapply_acls_from_receiver_cache(transferreceiver/pipeline_setup.rs) takesfake_super. When it is set, it callsstore_acls_via_fake_super(upstream: acls.c:1228set_rsync_acl(),am_root < 0arm).Evidence
tests/fake_super_receiver_acl_stash.rs:-rtA -M--fake-superto each server (3.5.1, oc).group::), which reaches the existing directory and the up-to-date file.condensing_the_wire_form_keeps_a_group_obj_below_the_mask.fake_superinapply_acls_from_receiver_cache: oracle cell fails.falseat the up-to-date-file call site: oracle cell fails (second round).xattronly and withaclonly: ok.Not in scope
%statids under--fake-superwithout-o/-g: 3.5.1 wrote2465469312:2465469312for a file where oc writes0:0. Tracked in task 496.