当前位置:网站首页>rsync:recv_generator: mkdir (in backup) failed:Permission denied (13) |failed to set times on '.'
rsync:recv_generator: mkdir (in backup) failed:Permission denied (13) |failed to set times on '.'
2022-08-09 06:53:00 【wpj130】
最近在研究rsync,配置完毕之后一直报错:
rsync: failed to set times on "/." (in xxx.xxx.com): Operation not permitted (1)
rsync: recv_generator: mkdir "/assets" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/commands" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/config" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/controllers" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/helper" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/mail" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/models" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/modules" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
ççççççççrsync: recv_generator: mkdir "/runtime" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/swoole" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/vagrant" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/vendor" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/views" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/web" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/widgets" (in xxx.xxx.com) failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: mkstemp "/.env.dkoOhC" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.release.J6y5H3" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.LICENSE.md.zBQm8u" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.README.md.7EsEyW" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.Vagrantfile.7hYn8n" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.codeception.yml.5HwjIP" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.composer.FDSxih" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.composer.json.blJDDP" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.composer.lock.Taxv1n" (in xxx.xxx.com) failed: Permission denied (13)
çrsync: mkstemp "/.docker-compose.yml.9TcY0W" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.requirements.php.RXer0v" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.yii.L1AP04" (in xxx.xxx.com) failed: Permission denied (13)
rsync: mkstemp "/.yii.bat.VF4d1D" (in xxx.xxx.com) failed: Permission denied (13)
çrsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/main.c(996) [sender=2.6.9]
许多人说是啥权限问题开始也对,但卒中解决办法都无法成功,最后,修改配置文件:
pid file = /var/run/rsync/rsyncd.pid
lock file = /var/run/rsync/rsyncd.lock
log file = /var/log/rsync/rsyncd.log
[www.wuliankaka.com]
path = /data/www/www.wuliankaka.com/
comment = www.wuliankaka.com
uid = root
gid = root
read only = false
auth users = rsync
secrets file = /etc/rsyncd.passwd
transfer logging = yes
说明:
1、首先去掉所有注释。#xx啥的
2、再就uid 是用户账号,gid 可能是用户组名。这个地方填写root的就好,这里不是指的账号。
3、read only 改为 false
边栏推荐
猜你喜欢
字节跳动面试题之镜像二叉树2020
Search 1688 product interface by image (item_search_img-search 1688 product by image (Politao interface) code docking tutorial
报错jinja2.exceptions.UndefinedError: ‘form‘ is undefined
e-learning summary
排序第四节——归并排序(附有自己的视频讲解)
分布式事务产生的原因
力扣第 305 场周赛复盘
分布式理论
Error jinja2.exceptions.UndefinedError: 'form' is undefined
Inception V3 闭眼检测
随机推荐
Use baidu EasyDL intelligent bin
Inception V3 Eye Closure Detection
变压器的工作原理(图解,原理图讲解,一看就懂)
The working principle of the transformer (illustration, schematic explanation, understand at a glance)
【修电脑】系统重装但IP不变后VScode Remote SSH连接失败解决
【Docker】Docker安装MySQL
图论,二叉树,dfs,bfs,dp,最短路专题
io.lettuce.core.RedisCommandTimeoutException Command timed out
Altium designer软件常用最全封装库,包含原理图库、PCB库和3D模型库
排序第二节——选择排序(选择排序+堆排序)(两个视频讲解)
longest substring without repeating characters
stm32定时器之简单封装
way of thinking problem-solving skills
flask创建数据库失败未报错
Zero shift of leetcode
2022年7月小结
leetcode:55. 跳跃游戏
Integer 线程安全的
Use of PlantUML plugin in idea
Distributed id generator implementation