#161115 rsync: does not properly handle filenames with question marks

Package:
rsync
Source:
rsync
Description:
fast, versatile, remote (and local) file-copying tool
Submitter:
Adam Kessel
Date:
2010-03-17 07:51:07 UTC
Severity:
wishlist
#161115#5
Date:
2002-09-16 22:56:16 UTC
From:
To:
When the source filename has a question mark, rsync says:

mkstemp blah?.txt.QCHoj1 failed: invalid argument

rsync must be improperly escaping the character.

#161115#10
Date:
2002-10-21 15:03:52 UTC
From:
To:
Having further investigated this problem, I've discovered that it results
from trying to write to a filesystem (VFAT) which can't handle filenames
with question marks in them. Perhaps then this is not technically an
rsync bug; although it would be nice if rsync handled the situation
gracefully, perhaps even allowing for substitution of another character
when the character in question is illegal on the target filesystem; or,
alternatively, aborting the transfer at the start rather than after
receiving the entire file and then not being able to write it.

This mainly causes problems for frequent rsync jobs where the same
potentially very large files keep getting transferred over and over again
and then lost because they can't be written on the target filesystem,
thus needlessly using up a lot of bandwidth.

#161115#19
Date:
2010-03-17 02:45:39 UTC
From:
To:
merge 161115 570898
thanks

There is a maintained patch "transliterate.diff" that provides a crude
way to remove characters illegal on the destination filesystem.  I'm
merging this bug with the bug requesting addition of that patch to the
main rsync.