[Bug 8284] New: hfs-compression.diff patch incorrectly expands relative directory

samba-bugs at samba.org samba-bugs at samba.org
Sun Jul 3 08:10:11 MDT 2011


           Summary: hfs-compression.diff patch incorrectly expands
                    relative directory
           Product: rsync
           Version: 3.0.8
          Platform: x64
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: RutleCorps at gmail.com
         QAContact: rsync-qa at samba.org

There is a bug when using a relative path for the destination with the
hfs-compression.diff patch and --hfs-compression option.  (Note that this bug
is not present with the --protect-decmpfs option)

The Destination: $HOME/Desktop/Untitledfolder2 works as expected, however if,
from my Home Directory I use Desktop/Untitledfolder2,  the relative path
Desktop/Untitledfolder2 is incorrectly expanded to

/usr/local/bin/rsync -aNHAXv --hfs-compression --fileflags --force-change
--delete Desktop/Untitledfolder1/ Desktop/Untitledfolder2 

sending incremental file list
rsync: statfs "/Users/Tony/Desktop/Untitledfolder2/Desktop/Untitledfolder2"
failed: No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(514)
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601)

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