[CentOS] rsync - set owner and group?

Sean Carolan scarolan at gmail.com
Fri May 9 14:46:57 UTC 2008


> Do your user and group names on both your source and destination
> systems have matching numeric values?

No.  The source system is a Windows machine running cygwin-rsyncd.

> Linux/UNIX systems carry the numeric values and look up the text
> values in /etc/passwd and /etc/group for display.   If you are seeing
> numeric values, that would imply there are no matching entries in
> those files.

Yea, i figured as much.  I was hoping that rsync could manually change
the ownership, or that perhaps there was some acl setting that could
be used to say "All files that get created in this directory will
always have the same owner and group."

> If you adjust your numeric values for the owner and group to match on
> source and destination systems, your systems will match up.

No can do.  As mentioned above, the source system is a 'doze box.



More information about the CentOS mailing list