admin avatar

rsync failed: Operation not permitted (1)错误的解决方法

🕞 by admin





执行rsync同步文件到远程服务器时,出现了下面的错误

1
2
3
4
5
6
7
sending incremental file list
file.zip
rsync: mkstemp "/var/www/test/file.zip" failed: Operation not permitted (1)

sent 766,647 bytes  received 12,430 bytes  82,008.11 bytes/sec
total size is 548,682,726  speedup is 704.27
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]

问题很简单,目标服务器的文件权限和源服务器文件权限不一致~





💘 相关文章





写一条评论

Based on Golang + fastHTTP + sdb | go1.18.1 Processed in 1ms