https://bugzilla.samba.org/show_bug.cgi?id=10611
Summary: No error code returned when removing source file failed Product: rsync Version: 3.1.1 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P5 Component: core AssignedTo: way...@samba.org ReportedBy: peto2...@hotmail.com QAContact: rsync...@samba.org Created attachment 9945 --> https://bugzilla.samba.org/attachment.cgi?id=9945 Patch for returning error 26, when removing source files failed. When rsync is required to remove source files with --remove-source-files option and source files where not removed (eg. due to missing write permission on source dir), no error code is returned, only error message is logged: rsync: sender failed to remove [file]: Permission denied (13) One would expect, that user is notified by special error code, that files were tranferred succesfully, but source files were not removed as desired. I created a small patch to fix this (see attachment). -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- 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