https://bugzilla.samba.org/show_bug.cgi?id=3542
Summary: "rsync --list-only a b/" tries to create b Product: rsync Version: 2.6.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] Rsync's --list-only option requires a destination, which is strange because the destination isn't used for anything. Nevertheless, in get_local_name, rsync ensures that the destination is usable, which may involve trying to create the destination as a directory. Luckily, if rsync tries to create the directory, the attempt is caught in do_mkdir and an error message results, but rsync really shouldn't care about the destination at all. The patch I will soon attach causes get_local_name to return NULL immediately if --list-only is given. However, there has to be a better way to ensure the destination is not touched in this situation. Separately, it would be an improvement if the destination argument could be omitted when --list-only is given. (Until I read the man page, I kept trying to run "rsync --list-only source/" and wondered why I got a usage error.) -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html