DO NOT REPLY [Bug 3764] mkdir "test\#366" failed: Invalid argument (22) on Mac OS X 10.4 (Intel)

samba-bugs at samba.org samba-bugs at samba.org
Sun May 7 20:41:42 GMT 2006


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


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER




------- Comment #1 from wayned at samba.org  2006-05-07 15:41 MST -------
This is a limitation of the MacOS operating system in that it rejects some
sequences of high-bit characters (presumably sequences that aren't valid
UTF-8).  Rsync does not currently have any facilities for trying to change
names from one character set to another, so it just sends the names it gets
from one side to the other.

Your options are to (1) use the same character-set encoding on both systems
(it's pretty easy to change a linux system over to using UTF-8) (2) don't use
high-bit characters in your names, (3) look into the iconv.diff patch that is a
early version of the --iconv=CHARSETS option (the patch handles converting
between character sets for filenames in the file list, but does not yet handle
filesnames specified on the command-line, nor include/exclude directives).

Since you may want to keep your Apple-modified rsync, the 1st of these
solutions is probably the easiest for you.

In the future rsync will ship with the --iconv option that will allow the
conversion of filenames from one system's encoding to another.


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