Errors with program diagnostics (code 13) after rsync upgrade

crateman.universalistic356 at aceecat.org crateman.universalistic356 at aceecat.org
Fri Nov 15 17:42:26 UTC 2024


On Fri, Nov 15, 2024 at 04:08:27PM GMT, Maxim Usatov via rsync wrote:

> I assume code 13 is related to permissions, but given rsync is
> started as root, why would this happen? The same rsync commands
> worked on all previous versions of FreeBSD. It also fails with the
> same error to a remote SSH host.  If I run my rsync backup scripts
> manually as root then everything works fine, so the issue appears
> only when the script is initiated by cron.

> if mount | grep $TARGET_DISK; then
> nice rsync --log-file=$RSYNC_LOG_FILE \
> --archive --hard-links --delete --delete-excluded --sparse --xattrs
> --numeric-ids --acls --progress \
> / /media/$TARGET_DISK/freebsd-backup

This is just a very wild and uneducated guess, but I would try it
without the nice.

Also: without the xattrs and acls. So 3 things to try :-P

-- 
Ian



More information about the rsync mailing list