[Bug 8057] New: -x negates --force

samba-bugs at samba.org samba-bugs at samba.org
Mon Apr 4 10:51:34 MDT 2011


           Summary: -x negates --force
           Product: rsync
           Version: 3.0.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: samba at liquidbinary.com
         QAContact: rsync-qa at samba.org

more specifically, -x inhibits --force from recursively descending a directory
to delete when it is being replaced by a non-directory.  2.6.9 and 3.0.7 on all
platforms I've tested exhibit the same behavior. Mac, linux, OpenBSD. The
following commands produce the error:

rm -rf src dest                                                                 

mkdir src src/sub1 src/sub1/sub1a src/sub2 src/sub2/sub2a                       
rsync -ax src/ dest/                                                            

rm -Rf src/sub2                                                                 
ln -s sub1 src/sub2                                                             
rsync  --force -ax src/ dest/

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