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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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