https://bugzilla.samba.org/show_bug.cgi?id=10238

           Summary: --dry-run does not change directory, causes
                    --link-dest failure on symlinks
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: way...@samba.org
        ReportedBy: lekenst...@gmail.com
         QAContact: rsync...@samba.org


Created attachment 9350
  --> https://bugzilla.samba.org/attachment.cgi?id=9350
testcase

When running rsync --xattrs --link-dest with --dry-run, a warning is printed if
the current directory does not match the source directory. Inspection with
strace showed that the current directory is not changed when using --dry-run.

An example message:

    rsync: get_xattr_names: llistxattr(""/tmp/test-rsync-bug/2/a/file"",1024)
failed: No such file or directory (2)


See attached shell script.

-- 
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

Reply via email to