rsync小问题记载
时间:2009-07-01 来源:shuiguomayi
rsync小问题记载
用rsync发送文件的时候,碰到了这样一个问题
rsync -vztopg --progress ./a.txt @1.2.3.4::relations_logs
a.txt
2 100% 0.00kB/s 0:00:00 (1, 100.0% of 1)
mkstemp .a.txt.6Ou5Jq failed
sent 111 bytes received 32 bytes 95.33 bytes/sec
total size is 2 speedup is 0.01
rsync error: some files could not be transferred (code 23) at main.c(702)
原来在1.2.3.4上rsync进程的owner是nobody, 将1.2.3.4上relations_log模块对应的目录的owner改成nobody就好了.
小小问题,多记录,多经验阿.
相关阅读 更多 +