时间:2016-02-26 19:14 来源: 我爱IT技术网 作者:佚名
欢迎您访问我爱IT技术网,今天小编为你分享的电脑教程是服务器系列之:【rsync 同步错误 cwrsync rsync error rsync error: some files/attrs were not transferred 解决方法】,下面是详细的分享!
rsync 同步错误 cwrsync rsync error rsync error: some files/attrs were not transferred 解决方法
本人发现这个问题两次了一直以为是服务器问题,因为就一台机器出现了这个问题,原来为了安全特取消了文件的写入与修改权限。通过mcafee的修改权限,问题解决,所以出现问题,先检查目录权限问题。rsync error: some files/attrs were not transferred (see previous errors)
cwrsync rsync error failed: Invalid argument
cwrsync 在windows 系统上作为服务端
rsync 在linux 系统上作为客户端(推送文件到cwrsync所在的windows 端)
出现错误:
rsync error: some files/attrs were not transferred (see previous errors)
failed: Invalid argument (22)
解决办法:
1.停止windows cwrsync服务
2.编辑E:\Program Files\ICW\etc\fstab文件(cwrsync安装路径)
在文件最后加入一行:
e:/shentest ntfs override,binary,noacl 0 0 //确认e盘shentest文件夹已经建立
3.修改rsync.conf配置文件(比如:将windows下e盘的shentest让linux来推送。)
[2011test]
path=/cygdrive/e/shentest
transfer logging=yes
ignore errors
read only=false
4.保存文件并重启windows上cwrsync服务
5.在linux测试rsync同步推送是否成功
注意的一点:
linux同步到windows端不能使用参数-vaz,否则文件夹就只有rsync能访问,windows用户就不能访问了
我的是下面这样:
rsync test.txt --delete 1.1.1.1::2011test
以上就是关于rsync 同步错误 cwrsync rsync error rsync error: some files/attrs were not transferred 解决方法的服务器维护教程分享,更多电脑教程请移步到>>电脑教程频道。
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-
