Recently we switched from the proprietary version of ssh to the latest versions OpenSSH on RH7, 9 and CentOS4.2
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>
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!
-- Enrico Indiogine Parasol Laboratory Texas A&M University
enricoi@cs.tamu.edu hindiogine@gmail.com 979-845-3937
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)?
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
2006/1/20, Jim Perrin jperrin@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@cs.tamu.edu hindiogine@gmail.com 979-845-3937