Rsync – Fixing ‘chown failed: permission denied (13)’ Error

linuxmountnfsrsyncUbuntu

I run a rsync task every midnight using the following command:

rsync -ahzP --stats --update --delete-before --delete-excluded --exclude "*.log" --exclude temp /mnt/raid/ /mnt/backups > /root/ext_backup.log 2>&1

/mnt/backups is a NFS mount.

The backup process runs smoothly for about half an hour, then I get the following error:

rsync: [receiver] write failed on "/my/file": Input/output error (5)
rsync: [receiver] chown "/my/file" failed: Permission denied (13)
rsync error: error in file IO (code 11) at receiver.c(378) [receiver=3.2.3]

rsync: [sender] write error: Broken pipe (32)

What could be the problem?

Best Answer

To fix this problem it was necessary to check the "Allow root access" checkbox.

enter image description here