Re: rsync - set owner and group?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, May 9, 2008 at 10:38 AM, Sean Carolan <scarolan@xxxxxxxxx> wrote:
> Is there a way to force rsync to set a specific owner and group on
> destination files?  I have managed to get the permissions set up the
> way I want, but the owner and group are still defaulting to a numeric
> id instead of the correct owner and group.

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

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.

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

Brett
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux