[Bug 7809] I/O errors other than IOERR_GENERAL should not suppress deletion

just subscribed for rsync-qa from bugzilla via rsync <[email protected]> Wed, 26 Jul 2023 18:31:42 +0000
Newsgroups gmane.network.rsync.general
Message-ID <[email protected]/>
https://bugzilla.samba.org/show_bug.cgi?id=7809

--- Comment #5 from Jeffrey Simon <[email protected]> ---
"Excludes are relative to the source dir". Are you saying that the excludes
should be --exclude=.DocumentRevisions-V100 --exclude=.TemporaryItems
--exclude=.Trashes?

That is a rhetorical question, because I no longer get an issue with with
excludes. After I added sudo, those errors no longer occur.

However, I am still having a problem, as follows:

1. The plain rsync command (with sudo and excludes) works from the command
line.

2. The same rsync command (with sudo and excludes) works as part of a script
from the command line.

3. The script does not work from launchd running as root.

Because rsync appears to be working properly, my issues are most likely with
the environmental differences between command line and launchd. So except for
the oddities that these issues only showed up on macOS Ventura, but did not
happen on macOS Monterey, I believe the issue can be considered somewhat
resolved. I say "somewhat" because it is not clear to me why sudo should be
necessary from the command line, but it is.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-- 
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