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

Sunday, Feb 21, 2021 | 1 minute read | Updated at Sunday, Feb 21, 2021

@

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

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]

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

© 2018 - 2026 vpslala

🌱 Powered by Hugo with theme Dream.