crateman.universalistic356 at aceecat.org
2024-Nov-15 17:42 UTC
Errors with program diagnostics (code 13) after rsync upgrade
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-backupThis 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
Maxim Usatov
2024-Nov-16 08:26 UTC
Errors with program diagnostics (code 13) after rsync upgrade
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 >
Apparently Analagous Threads
- Errors with program diagnostics (code 13) after rsync upgrade
- Errors with program diagnostics (code 13) after rsync upgrade
- Errors with program diagnostics (code 13) after rsync upgrade
- metaflac problem on cygwin
- Why is Sieve trying to re-compile global scripts?