rsync error: some files/attrs were not transferred (see previous errors) (code 23)

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]

服务端没有写权限,修改rsyncd.conf中uid和gid

 

因为该目录需要rsync访问 出现错误后,查看的日志文件,提示:权限不够

 

错误原因
1> 服务端配置文件中指定的用户和模块指定的目录的属主属组不同

2> 服务端模块指定的目录属组属组没有权限

解决方法
将模块指定目录的属主属组修改为 配置文件中指定的 uid gid

[root@nfs01 ~]# chown rsync.rsync /backup 配置文件中指定的用户和组

如果无法解决请参考:rsync常见错误详细解答

posted @ 2020-12-03 00:09  justforcoding  阅读(1924)  评论(0)    收藏  举报