首页 > 其他 > 详细

rsync报错rsync: failed to set times on "." (in backup): Permission denied (13)

时间:2016-08-31 12:12:32      阅读:2049      评论:0      收藏:0      [点我收藏+]

实际运用rsync练习中遇到rsync报错信息如:

rsync: failed to set times on "." (in backup): Permission denied (13)
rsync: recv_generator: failed to stat "ccc" (in backup): Permission denied (13)

翻译可知:更新.文件的时间失败:原因是权限不够。

此问题为权限问题,在文件权限无误:

技术分享

参考文献,克制此处为selinux权限限制,临时更改为setenforce 0,永久更改为修改/etc/sysconfig/selinux,将SELINUX=enforcing修改为SELINUX=diabled或者SELINUX=permissive

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

重新同步,成功:

技术分享

rsync报错rsync: failed to set times on "." (in backup): Permission denied (13)

原文:http://9598767.blog.51cto.com/9588767/1844669

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!