Re: iconv

2008-03-20 Thread Wayne Davison
On Thu, Mar 20, 2008 at 07:19:14AM -0400, Robert DuToit wrote: > A quick question. I tried --iconv=. but it didn't seem to work for my > friend with umlautes in his file names. Perhaps the default character set isn't set right for those filenames. You can always specify the charsets explicitly.

Re: iconv and daemon mode

2008-02-10 Thread Jochen Reinwand
Just to give some positive feedback: The problem was indeed the chroot of rsyncd! Since I'm only using rsyncd in my internal LAN and I'm only starting it on demand, it's no problem for me to disable chroot for the time being. Thanks for the help! Jochen On Saturday 09 February 2008 23:41, Matt

Re: iconv and daemon mode

2008-02-09 Thread Wayne Davison
On Sat, Feb 09, 2008 at 05:41:09PM -0500, Matt McCutchen wrote: > This would be nontrivial to fix: in order to setup iconv before > chrooting, the daemon would have to parse its arguments (to see the > --iconv option) before chrooting One other possibility is to implement something like the nameco

Re: iconv and daemon mode

2008-02-09 Thread Matt McCutchen
On Sat, 2008-02-09 at 17:41 -0500, Matt McCutchen wrote: > Instead, > let's recommend daemon administrators to copy the necessary encoding > helper libraries into the module and daemon-exclude them. Ouch, this brings up a serious problem. Any writable chrooted module that accepts --iconv has to p

Re: iconv and daemon mode

2008-02-09 Thread Matt McCutchen
On Sat, 2008-02-09 at 23:11 +0100, Jochen Reinwand wrote: > On Saturday 09 February 2008 22:39, Matt McCutchen wrote: > > On Sat, 2008-02-02 at 14:00 +0100, Jochen Reinwand wrote: > > > iconv_open("UTF-8", "iso8859-15") failed > > > rsync error: requested action not supported (code 4) at rsync.c(12

Re: iconv and daemon mode

2008-02-09 Thread Jochen Reinwand
On Saturday 09 February 2008 22:39, Matt McCutchen wrote: > On Sat, 2008-02-02 at 14:00 +0100, Jochen Reinwand wrote: > > I applied the patch to rsync-3.0.0pre8 and rsync-HEAD-20080127-2251GMT, > > but the new setup_iconv doesn't seem to work. Trying to connect with > > parameter --iconv set, the d

Re: iconv and daemon mode

2008-02-09 Thread Matt McCutchen
On Sat, 2008-02-02 at 14:00 +0100, Jochen Reinwand wrote: > I applied the patch to rsync-3.0.0pre8 and rsync-HEAD-20080127-2251GMT, but > the new setup_iconv doesn't seem to work. Trying to connect with > parameter --iconv set, the daemon writes the following to the syslog and > closes the conne

Re: iconv and daemon mode

2008-01-29 Thread Matt McCutchen
On Sat, 2007-12-15 at 23:36 +0100, Jochen Reinwand wrote: > This one is NOT working (filenames are UTF-8 on target): > $ rsync -av --iconv=utf-8,iso8859-15 test/ rsync://host/test I can reproduce this with the current development rsync. It seems to be caused by the accidental omission of a setup_