-
Notifications
You must be signed in to change notification settings - Fork 466
Open
Description
Transferring files from server A to server B. User jerome exists on both servers with a different UID.
Running this as user jerome preserves ownership (by names since I'm not using --numeric-ids ), however it preserves the ACL by UID (apparently).
rsync -aAz /home/jerome/ destination:/home/jerome/
I have a folder that has ACL for both www-data and jerome. On the destination, it has
- proper jerome:jerome ownership
- same ACL except www-data becomes www-data (same UID) but jerome becomes 1004 (source UID, no user for this UID on destination).
Running rsync as root (on both sides, but I suspect only destination matters) gets me the proper ACL: www-data and jerome.
I expected ACL to be copied the same way when running as user jerome.
Is this a design choice? A known limitation?
Originally asked on Stack Exchange.
Metadata
Metadata
Assignees
Labels
No labels