[CentOS] proprietary SSH -> OpenSSH migration and rsync errors

Sat Jan 21 00:46:59 UTC 2006
Salvatore Enrico Indiogine <hindiogine at gmail.com>

2006/1/20, Jim Perrin <jperrin at gmail.com>:
> > When I run rsync over ssh, even sudo, I get permissions errors:
> >
> > sudo rsync -av --rsh=/usr/bin/ssh --delete <source dir>
> > <user>@<server>:<dest dir>
> >
>
>  I've always used -e ssh when rsyncing that way, might give it a shot
> and see if it's a command difference.
>
>
> > readlink groups/amatogroup/intranet/FoldingServerOO-dev/trash/foldingServer/Folding.NMA/CVS:
> > Permission denied
> >
> > and
> >
> > opendir(groups/amatogroup/research/shepherding/single/RCS): Permission denied
> >
> > Any idea?   I did a lot of googling, but nothing that looked useful to me.
> > Thanks!
>
> Does it work right outside of ssh (assuming that's possible to test)?

-e ssh must be equivalent to --rsh=/usr/bin/ssh because it did not
affect the result.

The directories that rsync can not copy usually have a 700 permission.
 That is why I run it sudo rsync.  For some reason sudo does not give
rsync all the permissions that it should have.

--
Enrico Indiogine
Parasol Laboratory
Texas A&M University

enricoi at cs.tamu.edu
hindiogine at gmail.com
979-845-3937