天天看點

rsync error: some files/attrs were not transferred

sending incremental file list cannot delete non-empty directory:  www/ty sent 2231 bytes received 29 bytes 5340.00 bytes/sec total size is 298441240 speedup is 88775.85 could not make way for new regular file:  www/ty  rsync error: some files/attrs were not transferred

在伺服器上傳包的過程出現以上報錯:

1、首先看到的是:rsync error: some files/attrs were not transferred

分析可能是檔案權限導緻,後來對比了一下,rsyncd.conf裡的權限設定,以及包的權限沒問題

2、sending incremental file list cannot delete non-empty directory:  www/ty

再注意到這個錯誤提示資訊,大緻意思就是 www/ty這個目錄不是空目錄,不能執行delete操作;上去傳輸端和目标伺服器上找到這個目錄的路徑檢視,發現傳輸端的包裡的檔案ty是file,目的端(目标伺服器)的ty是一個目錄directory,猜測有可能是開發提發版的時候打包錯了;然後和開發對齊後,是他們那邊的問題,随後重新打包上傳

繼續閱讀