Linux運維雲計算學習之rsync報錯整理8

Linux雲計算運維基礎學習中,關於rsync瞭解多少呢?咱們今天就繼續來簡單瞭解下rsync報錯的一處問題

17rsync: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工作者中脫穎而出,就需要擁有高深的技術,學習增值是必不可少的。學習之路,是貴在堅持的!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章