From: Andrew Tridgell Date: Mon, 19 Jan 2026 00:14:40 +0000 (+1100) Subject: acl: fixed ACL ID mapping for non-root X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=236417cf354220669014317b1ba818b9d931afbb;p=thirdparty%2Frsync.git acl: fixed ACL ID mapping for non-root closes issue #618 --- diff --git a/acls.c b/acls.c index bd119e8e..4d67ff4d 100644 --- 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))