Bug 12196 - --numeric-ids broke usermap and groupmap in acls
Summary: --numeric-ids broke usermap and groupmap in acls
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.2
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 14:17 UTC by Piotr Rotter
Modified: 2016-08-31 14:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Rotter 2016-08-31 14:17:59 UTC
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.