On Wed, Nov 19, 2008 at 10:13:41PM +0100, AZ 9901 wrote: > Could it be possible to force rsyncd to do the chdir() after pre-xfer ?
That is not currently possible because rsync wants to tell the pre-xfer process about the options that the client sent (such as what module is being requested), and that conversation happens after the chroot is all setup and the protocol data is already flowing. It might be possible to twiddle this, but it could be less secure, so I don't wish to change it. Your best bet is to make the root of the module a local dir and mount a subdir inside that local directory based on the pre-xfer data. ..wayne.. -- 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