ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/10/20/05:59:43

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3BD14B05.AC7AAE9C@lapo.it>
Date: Sat, 20 Oct 2001 11:59:33 +0200
From: Lapo Luchini <lapo AT lapo DOT it>
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: it,en,fr,es,ja
MIME-Version: 1.0
To: cygwin-apps AT cygwin DOT com
Subject: Re: rsync README and <http://rsync.samba.org/rsync/nt.html>
References: <6568-Tue09Oct2001120802+0100-starksb AT ebi DOT ac DOT uk>

> Would you consider expanding your README file to provide this
> information?  Then we could tell the rsync maintainers to get rid of
> that web page altogether.  (Or better, replace it with a pointer to
> Cygwin.)  I don't like to put information like this in the FAQ.

Of course.
I just wrote a small HOWTO for a friend that's not too capable with unix
& cygwin and I can extend it and update the readme.

> Thanks again for maintaining rsync.  I use it myself.  (Though not in
> daemon mode, otherwise I would volunteer to write those instructions
> myself.)

Well I've not had the time to study it thoroughly to solve the one
problem I'm aware of (rsync:// daemon mode in cygwin), but version 2.4.7
is so close that maybe a patch isn't worth the work.

Instruction proposal:

Using CygWin official distro you can easily have an rsync daemon under
You need the packages "rsync" (rsync itself) and "cygrunsrv" (replaces
srvany.exe to install and manage Windows services).

1. use http://cygwin.com/setup.exe to install (at least) the following
packages (take care that the default is "install everything"): cygwin,
rsync, cygrunsrv, bash [also bash could be useful for point 1, but what
other packages are NEEDED?]

2. create your /etc/rsyncd.conf text file similiar to this one ("man
rsyncd.conf" for more info, be careful that the proposed setup exposes
ALL the file system to the anonymous user)

use chroot = false
strict modes = false
hosts allow = *

path = /usr/pub/rsync/
read only = yes
list = yes

3. create the service writing the following in your bash: cygrunsrv -I
"RSYNC Daemon" -p /usr/bin/rsync -a '--config=/etc/rsyncd.conf --daemon'

4. you should now be able to start/stop the service either using the
control panel, microsoft's "net" command or cygwin's "cygrunsrv" command

someone has something to add?

Lapo 'Raist' Luchini
lapo AT lapo DOT it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019