Re: Errors with program diagnostics (code 13) after rsync upgrade

Maxim Usatov via rsync <[email protected]> Sat, 16 Nov 2024 08:26:47 +0000
Newsgroups gmane.network.rsync.general
Organization BusinessCom Networks
Message-ID <[email protected]>
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
>


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html