rsync over ssh, gets permission denied
I gonna backup some files from a local machine to a remote server trough rsync over ssh. Here is the command I used:
rsync -avh -e "ssh -p 3286" somelocal_folder/ me@x.x.x.x:/data/bu/
The user(me) which I use to ssh to the server has rwx permissions on /data/bu directory but it does not have write permission on /data. It raises permission denied error when I enter my password. I searched a lot in the Internet,but I could not find any thing relevant. Any idea of the cause of the problem?!!
链接地址: http://www.djcxy.com/p/60048.html上一篇: 使用rsync而不输入密码
下一篇: 通过SSH的rsync,获取权限被拒绝