On Fri, May 14, 2021 at 11:02:23AM +0200, Claudio Jeker wrote:
> On Fri, May 14, 2021 at 12:44:45AM +0300, Irshad Sulaiman wrote:
> > Hi 
> > 
> > I have modified error in openrsync(1) manpage in Example section isn’t
> > that ‘openrsync -t'  instead of 'rsync -t ‘
> > And without --rsync-path= it gives an following error 'openrsync: error:
> > unexpected end of file’
> 
> I did try all three examples and they do work for me without adding
> --rsync-path=. On which command did you get the unexpected result.
> Can you share the exact way to reproduce this issue?

Did you have rsync installed on the remote machine?

My understanding was that by default, openrsync expects "rsync" to be
installed on the destination machine. Probably "rsync" can just be a
symlink to openrsync; I'm not sure.

It would be nice if the openrsync man page described how things are
expected to work. Something like the following (I don't know if it's
correct):

    By default, openrsync expects the command "rsync" to be available
    on the remote machine. You can override it to use openrsync with
    --rsync-path=/usr/bin/openrsync. It is also sufficient to make
    rsync an alias for openrsync on the remote machine.

-- 
James

Reply via email to