rsync opendir failed: Permission denied (13)
При бекапе некоторых директорий rsync отказывается работать:
> rsync -avh 172.22.24.123::test
receiving incremental file list
rsync: opendir «/.» (in test) failed: Permission denied (13)
drwxr-xr-x 17 2023/05/23 21:17:49 .
sent 20 bytes received 106 bytes 252.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1651) [generator=3.1.2]
В то время как другие директории копирует без проблем.
/etc/rsyncd.conf:
[test]
path = /home
hosts allow = 172.22.24.84
uid = root
gid = root
list = yes
read only = true
log file = /tmp/backup.log
Оба компьютера с CentOS7.