[Bug 2790] New: mkstemp fails for paths which include extended (8-bit) characters

samba-bugs at samba.org samba-bugs at samba.org
Sat Jun 11 18:40:23 GMT 2005


           Summary: mkstemp fails for paths which include extended (8-bit)
           Product: rsync
           Version: 2.6.5
          Platform: All
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: bfriesen at simple.dallas.tx.us
         QAContact: rsync-qa at samba.org

When mirroring a directory tree with "rsync -aq --delete-after", there are many
error messages reported similar to:
rsync: mkstemp "/backup/home/kuwe/.kdb/.\376\254\026T.zTE32v" failed: Invalid
argument (22)
It seems that extended characters are converted to octal codes by the protocol
but have not been converted back to 8-bit codes prior to passing to mkstemp, so
mkstemp fails under Mac OS X.  The problem does not occur under FreeBSD or
Solaris.  Apparently Mac OS X rejects the backslashes in file names while
FreeBSD and Solaris accept them.
The same problem is observed with the rsync that came with Mac OS X (2.6.2).

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