DO NOT REPLY [Bug 4378] New: Handling of symbolic links

samba-bugs at samba-bugs at
Wed Feb 7 22:23:19 GMT 2007

           Summary: Handling of symbolic links
           Product: rsync
           Version: 2.6.6
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: michael.schliephake at
         QAContact: rsync-qa at

RSync ignores symbolic links by default (warning written out).

Scenario: 'dirA' contains files and links and should be synchronized with
'dirB' and vice versa.

   rsync -v --delete dirA dirB

copies files from A to B and lets links in A. The opposite command

   rsync -v --delete dirB dirA

should now do nothing because directories are "in sync". Instead of this the
command deletes the links in A.

I argue that links should not be deleted if they are ignored in the opposite
direction. Otherwise it is not possible to write "symmetric commands". Of
course the same is true for the other variants of link treatment (not tested by

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list