https://bugzilla.samba.org/show_bug.cgi?id=10081
Summary: Multiple rsync instances conflict Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P5 Component: core AssignedTo: way...@samba.org ReportedBy: xaion...@gmail.com QAContact: rsync...@samba.org When running multiple instances of rsync with "--backup" option on same file (for example in case of intersecting include-files), few of them can exit with exitcode "23". It happens due to nonatomicity of robust_unlink()&do_open() operation in copy_file(). While one of instances is proceeding between robust_unlink() and do_open(), another instance can run do_open(). So the first instance will fail on do_open() due to flag "O_EXCL". I suggest to remove the flag "O_EXCL" if copy_file() is called from make_backup() function. Overwriting of "backuped" file is fine behavior, so why not to permit it even for this special case? -- 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