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

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


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

           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 samba.org
        ReportedBy: michael.schliephake at t-online.de
         QAContact: rsync-qa at samba.org


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
me).


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


More information about the rsync mailing list