Re: maybe a Unicode problem? was Re: two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required

2011-03-12 Thread Paul Slootman
Have you tried --protect-args ?


Paul
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


maybe a Unicode problem? was Re: two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required

2011-03-11 Thread travis+ml-rsync
On Fri, Mar 11, 2011 at 06:41:26PM -0800, travis+ml-rs...@subspacefield.org 
wrote:
 deleting path/to/(Something) Word Word Anotherword--Word Word.pdf
 IO error encountered -- skipping file deletion
 
 I think either the -- is causing it to fail, or more likely, the next
 filename, which it didn't bother to print out, which has an ampersand
 in the name, causes it to fail.
 
 I am using SSH as a substrate, of course, and I think you guys failed
 to escape things, so the ampersand is hosing your protocol somehow.

Actually, I'm unable to replicate the error with some test files with the
exact same names.

Just to test the escaping, I tried creating this dir:

(Word) Word Word Word--Word  Word (Word Word.).ext
idid
idid`id`

I was expecting to find some shell-escapes, so I threw those last two in for 
good measure.

I was able to create and delete those filenames on the target properly.

So I didn't find the shell escape I was looking for.

This time it failed when trying to delete a file containing the word 
G\#303\#266del

I wonder if there's some issues with Unicode...
-- 
I'm not sleeping; I'm regenerating. | http://www.subspacefield.org/~travis/
My emails do not usually have attachments; it's a digital signature
that your mail program doesn't understand.
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpoDrybyBy0Y.pgp
Description: PGP signature
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: maybe a Unicode problem? was Re: two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required

2011-03-11 Thread travis+ml-rsync
On Fri, Mar 11, 2011 at 07:00:57PM -0800, travis+ml-rs...@subspacefield.org 
wrote:
 This time it failed when trying to delete a file containing the word 
 G\#303\#266del
 
 I wonder if there's some issues with Unicode...

Or possibly not.  This time, the last line before the I/O error was a
filename with nothing special in it, just spaces and a hyphen.

If anyone can suggest a troubleshooting technique I'd appreciate it.

Both src and target are Ubuntu, the source is rsync 3.0.6 and the target is 
3.0.7
-- 
I'm not sleeping; I'm regenerating. | http://www.subspacefield.org/~travis/
My emails do not usually have attachments; it's a digital signature
that your mail program doesn't understand.
If you are a spammer, please email j...@subspacefield.org to get blacklisted.


pgpT2zvevdX2S.pgp
Description: PGP signature
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html