samba-bugs@samba.org
2008-Jun-21  00:49 UTC
DO NOT REPLY [Bug 5554] New: File has vanished for files with foreign/unicode characters
https://bugzilla.samba.org/show_bug.cgi?id=5554
           Summary: File has vanished for files with foreign/unicode
                    characters
           Product: rsync
           Version: 2.6.9
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy: andrew@bramp.freeserve.co.uk
         QAContact: rsync-qa@samba.org
I am using rsync inside cygwin to transfer files from my old PC to my new PC. I
have mapped the old PC's shares to drive letters, and then within cygwin I
am
running the following command:
rsync -av /cygdrive/z/ /cygdrive/e/
Where z is the mapped drive, and e is the local drive where I'm copying the
files to.
Now I've copied ~500GB of files with this command without a problem, however
a
few files refuse to be transfer always failing with the error: "file has
vanished".
The remote drive is not being altered, and both computers have synced clocks.
One thing I notice is that the file names always have foreign/Unicode
characters in them. The output I receive in the cygwin console is this:
file has vanished: "/cygdrive/z/mp3/A/Apocalyptica/Reflections/06 -
Cohkka.mp3"
file has vanished: "/cygdrive/z/mp3/D/Dir en grey/six Ugly/06 - Byo??Shin
[second[]deep].mp3"
file has vanished:
"/cygdrive/z/mp3/F/FinnTroll/Nattfodd/Finntroll_-_Nattf?dd-ba
ck.jpg"
file has vanished:
"/cygdrive/z/mp3/F/FinnTroll/Nattfodd/Finntroll_-_Nattf?dd-fr
ont.jpg"
However the actual file names are displayed differently in explorer to the
rsync print outs:
"Z:\mp3\A\Apocalyptica\Reflections\06 - Čohkka.mp3" (mark above the C)
"Z:\mp3\D\Dir en grey\six Ugly\06 - Byo「」Shin [second[]deep].mp3"
(funny
symbols between the "Byo" and "Shin"
"Z:\mp3\F\FinnTroll\Nattfodd\Finntroll_-_Nattfцdd-back.jpg" (Square
looking u
in Nattfudd)
"Z:\mp3\F\FinnTroll\Nattfodd\Finntroll_-_Nattfцdd-front.jpg"
Some foreign characters do work, for example in the same
Apocalyptica\Reflections directory there is "10 - Cortége.mp3" (accent
on the
e)
I'm unsure if this is a Rsync bug, or a cygwin bug. Both file systems are
NTFS,
and both machines are running Windows XP. The Cygwin was freshly installed
yesterday with nothing altered except to add rsync.
I hope this is a real bug that can easily be fixed. Until then I can easily
copy the few files which rsync fails at.
thanks
Andrew
-- 
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.
samba-bugs@samba.org
2008-Aug-02  02:39 UTC
DO NOT REPLY [Bug 5554] File has vanished for files with foreign/unicode characters
https://bugzilla.samba.org/show_bug.cgi?id=5554
wayned@samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
------- Comment #1 from wayned@samba.org  2008-08-01 21:40 CST -------
This has been discussed before when MS Windows lies to rsync and gives it a
filename that it can't use to open the file:
http://lists.samba.org/archive/rsync/2005-May/012638.html
There is apparently a way to tell MS Windows to stop the lies, and a search of
the cygwin forum or the rsync mail archives should help to turn up the right
incantation.
-- 
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.