由 阿信 » 週三 8月 30, 2006 9:04 am
從 rsync source中的main.c:543來看
/* Otherwise, we are writing a single file, possibly on top of an
* existing non-directory. Change to the item's parent directory
* (if it has a path component), return the basename of the
* destination file as the local name, and use mode 2. */
if (!cp)
return dest_path;
if (cp == dest_path)
dest_path = "/";
*cp = '\0';
if (!push_dir(dest_path)) {
/*here 543/* rsyserr(FERROR, errno, "push_dir#3 %s failed",
full_fname(dest_path));
exit_cleanup(RERR_FILESELECT);
}
*cp = '/';
return cp + 1;
以及 socket.c:184附近。
小弟猜想是目地端的機器問題,能否說明你的使用環境和操作方式呢?
e.g.
目地端機器的OS,rsync service是否有正常開啟
本地端的OS,kernel 版本...