rsync: mkstemp ".test1.sh.ox5lBz" (in conf) failed: Permission denied (13)
来源:互联网 发布:listview 优化的原理 编辑:程序博客网 时间:2024/06/11 04:40
sending incremental file list
test1.sh
rsync: mkstemp ".test1.sh.ox5lBz" (in conf) failed: Permission denied (13)
sent 181 bytes received 27 bytes 59.43 bytes/sec
total size is 159 speedup is 0.76
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
排查了配置文件均未发现错误
最后发现原因为未关闭Linux系统selinux
执行setenforce 0临时关闭selinux即可复制成功
如下配置文件enforcing修改为disabled即可永久关闭selinux,执行sestatus查看selinux状态
[root@localhost etc]# cat /etc/selinux/config
# 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: mkstemp ".test1.sh.ox5lBz" (in conf) failed: Permission denied (13)
- rsync下failed:permission denied
- rsync下failed:permission denied问题解决办法
- rsync: failed to set times on "/www.cookie.com/." (in cookie.com): Permission denied
- cwRsync 与 rsync 配合使用时: chdir *** failed, Permission denied (13) 的一个解决办法
- failed to open stream: Permission denied in
- /bin/sh: : Permission denied
- ./jmeter.sh: Permission denied
- ./startup.sh: Permission denied
- Include directive in httpd.conf giving a Permission denied error
- nginx 502错误 failed (13: Permission denied)
- failed (13: Permission denied) while reading upstream
- nginx open() "" failed (13: Permission denied), client
- opendir failed permission denied
- opendir failed, Permission denied
- Opendir failed, Permission denied
- sh运行Permission denied解决方法
- bash: ./build.sh: Permission denied
- 圆柱的自动旋转
- pycharm调用远程虚拟环境的设置
- Android中的样式
- Android Wear Eclipse开发环境搭建
- Datacamp Notes: Introduction to R
- rsync: mkstemp ".test1.sh.ox5lBz" (in conf) failed: Permission denied (13)
- Android Studio导入library project第三方类库
- view 与viewGroup的关系
- 归并排序的简单实现(c++ 版本)
- freescale spi driver
- 关于今晚的实验 自己做出来的 满满的成就感感觉自己棒棒哒
- 黑马程序员-----集合 泛型
- 60s经济学
- Android 自定义视图 onMeasure,MeasureSpec 思路详解