Linux運維雲計算學習之rsync報錯整理8
Linux雲計算運維基礎學習中,關於rsync了解多少呢?咱們今天就繼續來簡單了解下rsync報錯的一處問題。
17、rsync:recv_generator: mkdir"nfs01_172.16.1.31" (in backup) failed:Permission denied (13)
sendingincremental file list
./
rsync:failed to set times on"." (in backup): Operation not permitted (1)
nfs01_172.16.1.31/
rsync:recv_generator: mkdir"nfs01_172.16.1.31" (in backup) failed:Permission denied (13)
***Skipping any contents fromthis failed directory ***
sent 106bytes received 15 bytes 80.67 bytes/sec
totalsize is 655 speedup is 5.41
rsyncerror: some files/attrs were not transferred (see previous errors) (code 23) atmain.c(1039) [sender=3.0.6]
錯誤原因:
1、服務端配置文件中指定的用戶和模塊指定的目錄的屬主屬組不同
2、服務端模塊指定的目錄屬組屬組沒有許可權
解決方法:
將模塊指定目錄的屬主屬組修改為 配置文件中指定的 uid gid
[root@nfs01 ~]# chown rsync.rsync/backup 配置文件中指定的用戶和組
以上就是分享的Linux運維學習關於rsync報錯的兩個問題的簡單介紹了,想要眾多的IT工作者中脫穎而出,就需要擁有高深的技術,學習增值是必不可少的。學習之路,是貴在堅持的!
推薦閱讀: