[CentOS] rsync - set owner and group?

Sean Carolan

scarolan at gmail.com
Fri May 9 14:38:33 UTC 2008


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.  I suppose I could add a
manual "chown -R owner:group" at the end of my script, but was curious
if rsync had this built in.  Or maybe there is some ACL setting that
will force the right owner and group on all new files.

thanks

Sean



More information about the CentOS mailing list