samba-bugs@samba.org
2005-Jun-11 19:02 UTC
[Bug 2790] New: mkstemp fails for paths which include extended (8-bit) characters
https://bugzilla.samba.org/show_bug.cgi?id=2790 Summary: mkstemp fails for paths which include extended (8-bit) characters Product: rsync Version: 2.6.5 Platform: All OS/Version: Mac OS X Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: bfriesen@simple.dallas.tx.us QAContact: rsync-qa@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.
Reasonably Related Threads
- [Bug 2790] Add support for converting filenames into different encodings
- rsync + cifs problem
- [Bug 508] Krb4/AFS token passing doesn't work because of mkstemp
- rsync: mkstemp ... No such file or directory mangled dirname
- [Bug 1605] New: Copy from NTFS to VFAT produces mkstemp and stat errors