]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
acl: fixed ACL ID mapping for non-root master
authorAndrew Tridgell <andrew@tridgell.net>
Mon, 19 Jan 2026 00:14:40 +0000 (11:14 +1100)
committerAndrew Tridgell <andrew@tridgell.net>
Mon, 19 Jan 2026 00:32:13 +0000 (11:32 +1100)
closes issue #618

acls.c

diff --git a/acls.c b/acls.c
index bd119e8ee6b1c1dd9b0c6f77bec47fafc05fc6ec..4d67ff4d16f746356312a525325b028e45893f8a 100644 (file)
--- a/acls.c
+++ b/acls.c
@@ -713,7 +713,7 @@ static uchar recv_ida_entries(int f, ida_entries *ent)
                        else
                                id = recv_group_name(f, id, NULL);
                } else if (access & NAME_IS_USER) {
-                       if (inc_recurse && am_root && !numeric_ids)
+                       if (inc_recurse && !numeric_ids)
                                id = match_uid(id);
                } else {
                        if (inc_recurse && (!am_root || !numeric_ids))