DO NOT REPLY [Bug 3764] New: 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 14:25:23 GMT 2006


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

           Summary: mkdir "test\#366" failed: Invalid argument (22) on Mac
                    OS X 10.4 (Intel)
           Product: rsync
           Version: 2.6.8
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: thl at lothosoft.ch
         QAContact: rsync-qa at samba.org


I tried to rsync the following file structure
  BaseFolder/
    test (file)
    testä (file)
    testö/ (folder)
      test (file)
from 3 different systems to a MacMini with standard installation of Mac OS X
10.4 (Tiger) plus Apple's XCode tools and DarwinPort. I tried 2 different
version of rsync on the MacMini:
 - /opt/local/bin/rsync, version 2.6.3, the version shipped with Apple Mac OS X
 - /usr/bin/rsync, version 2.6.8, freshly downloaded and compiled (no errors
during compilation)
The effects were the same with both versions.

(1) From the Apple iBook (G4, PPC) with Mac OS X 10.4 (Tiger), the whole
structure was transmitted correctly.

(2) From the i386 computer running SUSE Linux 9.0 with rsync 2.6.2, the file
"testä" as well as the folder "testö" were not transmitted. The file "test"
was transmitted correctly. Here is the log:
---- RSYNC 2.6.8 AS RECEIVER ----
thomas at linux:~> rsync -avz --delete --delete-after --rsh=/usr/bin/ssh
--rsync-path="/opt/local/bin/rsync" /home/thomas/BaseFolder
backupglis at 192.168.0.4:/Users/backupglis/
Password:
building file list ... done
BaseFolder/
BaseFolder/test
BaseFolder/testä
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/testö" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/testö" failed: No such file or
directory (2)
BaseFolder/testö/test
rsync: mkstemp "/Users/backupglis/BaseFolder/.testä.scj5OW" failed: Invalid
argument (22)
rsync: mkstemp "/Users/backupglis/BaseFolder/testö/.test.IhyFvq" failed:
Invalid argument (22)
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/testö" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/testö" failed: Invalid argument (22)

wrote 253 bytes  read 80 bytes  74.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(633)
---- RSYNC 2.6.3 AS RECEIVER ----
thomas at linux:~> rsync -avz --delete --delete-after --rsh=/usr/bin/ssh
--rsync-path="/usr/bin/rsync" /home/thomas/BaseFolder
backupglis at 192.168.0.4:/Users/backupglis/
Password:
building file list ... done
BaseFolder/
BaseFolder/test
BaseFolder/testä
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/testö" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/testö" failed: No such file or
directory (2)
BaseFolder/testö/test
rsync: mkstemp "/Users/backupglis/BaseFolder/.testä.yzWMAy" failed: Invalid
argument (22)
rsync: mkstemp "/Users/backupglis/BaseFolder/testö/.test.qMm01P" failed:
Invalid argument (22)
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/testö" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/testö" failed: Invalid argument (22)

wrote 253 bytes  read 80 bytes  133.20 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(633)
---- END ----

(3) From the i386 computer running Windows XP with cwRsync 2.0.7 (containing
rsync 2.6.8), the transfer of "testä" and "testö" failed as well. The error
messages were the same as before. The file "test" was correctly transmitted.
Here is the log:
---- WITH -8 OPTION ----
C:\Programme\cwRsync\bin>rsync -av -8 --delete
--rsync-path="/opt/local/bin/rsync" "/cygdrive/c/Dokumente und
Einstellungen/Thomas/Desktop/BaseFolder"
backupglis at 192.168.0.4:/Users/backupglis/
building file list ... done
BaseFolder/
BaseFolder/test
BaseFolder/testä
BaseFolder/testö/
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/testö" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/testö" failed: No such file or
directory (2)
BaseFolder/testö/test
rsync: mkstemp "/Users/backupglis/BaseFolder/.testä.HdwIzE" failed: Invalid
argument (22)
rsync: mkstemp "/Users/backupglis/BaseFolder/testö/.test.ZrunOS" failed:
Invalid argument (22)
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/testö" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/testö" failed: Invalid argument (22)

sent 315 bytes  received 98 bytes  275.33 bytes/sec
total size is 16  speedup is 0.04
rsync error: some files could not be transferred (code 23) at main.c(892)
[sender=2.6.8]
---- WITHOUT -8 OPTION ----
C:\Programme\cwRsync\bin>rsync -av --delete --rsync-path="/opt/local/bin/rsync"
"/cygdrive/c/Dokumente und Einstellungen/Thomas/Desktop/BaseFolder"
backupglis at 192.168.0.4:/Users/backupglis/
building file list ... done
BaseFolder/
BaseFolder/test
BaseFolder/test\#344
BaseFolder/test\#366/
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/test\#366" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/test\#366" failed: No such file or
directory (2)
BaseFolder/test\#366/test
rsync: mkstemp "/Users/backupglis/BaseFolder/.test\#344.02o4ow" failed: Invalid
argument (22)
rsync: mkstemp "/Users/backupglis/BaseFolder/test\#366/.test.EdzeQU" failed:
Invalid argument (22)
rsync: recv_generator: mkdir "/Users/backupglis/BaseFolder/test\#366" failed:
Invalid argument (22)
rsync: stat "/Users/backupglis/BaseFolder/test\#366" failed: Invalid argument
(22)

sent 315 bytes  received 98 bytes  275.33 bytes/sec
total size is 16  speedup is 0.04
rsync error: some files could not be transferred (code 23) at main.c(892)
[sender=2.6.8]
---- END ----

This looks like a charset problem to me.

Thomas


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