I have an rsync task that eventually fails after transferring files for some time. The error message is:
rsync: failed to set permissions on "/mnt/tank/rsync/csb/trigger/usr/bin/emacs-24.3": Inappropriate file type or format (79)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1673) [generator=3.1.3]
On the FreeNAS server:
root@hadal[~]# ls -ld /mnt/tank/rsync/csb/trigger/usr/bin/emacs-24.3
-rwx------ 1 backup backup 14931952 Apr 3 2020 /mnt/tank/rsync/csb/trigger/usr/bin/emacs-24.3
On the client that is being backed up:
-rwxr-xr-t. 1 root root 14931952 Apr 3 2020 emacs-24.3
The only thing I see that is different about this file is that the sticky bit is set, however, I still get the error after removing the sticky bit. I also tried removing the SELinux context.
I have several other rsync tasks that work just fine.
root@hadal[~]# rsync -av backup@trigger::hd1 /mnt/tank/rsync/csb/trigger
rsync: failed to set permissions on "/mnt/tank/rsync/csb/trigger/usr/bin/emacs-24.3": Inappropriate file type or format (79)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1673) [generator=3.1.3]
On the FreeNAS server:
root@hadal[~]# ls -ld /mnt/tank/rsync/csb/trigger/usr/bin/emacs-24.3
-rwx------ 1 backup backup 14931952 Apr 3 2020 /mnt/tank/rsync/csb/trigger/usr/bin/emacs-24.3
On the client that is being backed up:
-rwxr-xr-t. 1 root root 14931952 Apr 3 2020 emacs-24.3
The only thing I see that is different about this file is that the sticky bit is set, however, I still get the error after removing the sticky bit. I also tried removing the SELinux context.
I have several other rsync tasks that work just fine.
root@hadal[~]# rsync -av backup@trigger::hd1 /mnt/tank/rsync/csb/trigger