[Bug 12196] New: --numeric-ids broke usermap and groupmap in acls

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 12196] New: --numeric-ids broke usermap and groupmap in acls

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12196

            Bug ID: 12196
           Summary: --numeric-ids broke usermap and groupmap in acls
           Product: rsync
           Version: 3.1.2
          Hardware: x64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Hi,

In case I do:
rsync -Aaxq --delete --ignore-errors --usermap=33:44 --groupmap=33:44
user@server::backup/source/ /dest/

The result is:
# getfacl file
user::rw-
user:44:r--
group::rw-
group:44:r--
mask::rw-
other::---

Looks ok. But in case:
rsync -Aaxq --delete --ignore-errors --numeric-ids --usermap=33:44
--groupmap=33:44 user@server::backup/source/ /dest/

The result is:
# getfacl file
user::rw-
user:33:r--
group::rw-
group:33:r--
mask::rw-
other::---

It looks like rsync ignored usermap groupma for acls. Non acls rights mapping
still works ok.

I would also suggest adding the --addacl would be very useful.

--
You are receiving this mail because:
You are the QA Contact for the bug.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html