Modules in rsync not working - everything gets available!

2 posts / 0 new
Last post
Anonymous
Modules in rsync not working - everything gets available!

I have recently set up an (cw)rsync (over SSH) backup solution. I use Windows and cwrsync on both "sides".

While testing it I soon discovered that the modules did not work as expected.
When running rsync from the client I am able to backup data, but only if I specifies the exact search path for the destination - not if I specify a specific module.
I can't even get the rsync server to list available modules.

Every time I try to use or list modules I get the following error on the client:
-------
rsync: connection unexpectedly closed (0 bytes received so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(453)
-------

I just can't figure out what's wrong...

This is an example rsyncd.conf that don't work as expected:
---------------------
use chroot = true
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pid

path = /cygdrive/i/test
read only = false
transfer logging = yes
list = true
---------------------

Because of this problem the connecting client have full access to any paths on my harddrives - not only those specified in the modules.
How is this supposed to work? Should the client be able to get full access of my drives with the above configuration? If I don't specify any modules - then I guess this maybe should be possibe?

/Confused

itefix
Offline
Last seen: 6 days 17 hours ago
Joined: 01.05.2008 - 21:33
Have you tried FAQ
Topic locked

Release announcements