Errors with program diagnostics (code 13) after rsync upgrade
Maxim Usatov
maxim.usatov at bcsatellite.net
Sat Nov 16 08:26:47 UTC 2024
Hi Ian,
Tried without nice, xattrs, acls and hard-links - same error.
Regards,
Maxim Usatov
On 11/15/24 17:42, Ian Z via rsync wrote:
> 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
>
More information about the rsync
mailing list