Not fail if can't set permissions ?

Wayne Davison wayned at
Sun Oct 15 19:26:19 GMT 2006

On Mon, Oct 09, 2006 at 05:39:55PM +0200, Andre Majorel wrote:
> there a way to make rsync not consider it an error when chmod()
> fails on a directory owned by someone else ? Possibly warn about
> it, but still exit with a zero status.

There is a diff in the patches dir named omit-dir-changes.diff that adds
the option --omit-dir-changes.  When used, this option will stop rsync
from trying to update the permissions on the directories at all.  That's
not quite what you were asking for, but it would silence the errors.


More information about the rsync mailing list