[Bug 10238] New: --dry-run does not change directory, causes --link-dest failure on symlinks

samba-bugs at samba.org samba-bugs at samba.org
Wed Oct 30 14:49:53 MDT 2013


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: wayned at samba.org
        ReportedBy: lekensteyn at gmail.com
         QAContact: rsync-qa at 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.


More information about the rsync mailing list