rsync error: some files/attrs were not transferred (see previous errors) (code 23)
在执行xsync 对已经 ssh 免密登录的 普通用户的 机器进行 分发命令时,报如下错:rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]是要操作的主机目录没有普通用户的权限,使用如下命令,给要操作的主机上的相应文件夹赋予
·
在执行 xsync 对已经 ssh 免密登录的 普通用户的 机器进行 分发命令时,报如下错:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]
是要操作的主机目录没有普通用户的权限,使用如下命令,给要操作的主机上的相应文件夹赋予普通用户权限
chown username [文件夹]
# 示例:
chown -R bigdata /opt/
chmod 777 [文件夹]
#实例:
chmod 777 /opt
如下图所示:
再次执行 xsync 即可执行成功。
更多推荐
已为社区贡献2条内容
所有评论(0)