Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-Id: <5.2.1.1.0.20030521131035.01aa9558@wheresmymailserver.com> X-Sender: gsr-mb00@mail.firelands.net (Unverified) Date: Wed, 21 May 2003 13:11:11 -0400 To: Cygwin@cygwin.com From: Network Operations Subject: cygrunsrv, rsync, w2k Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed The hints from Vince helped jump start my feeble brain. Here are my steps to install and start rsync on Windows 2000. This is the working installation for the service: $ cygrunsrv -I rsyncd -d "RSYNC Daemon" -f "rsync file transfer service" \ -p /usr/bin/rsync -a '--config=/etc/rsyncd.conf --daemon --no-detach' \ -e CYGWIN='binmode tty ntsec' --user=Administrator Note the --user=Administrator Before installing the service make sure to have the configuration and variable files and paths permissions correct. 1 Delete previous rsyncd.* files from unsuccessful attempts 1.1 /var/run/rsyncd.pid 1.2 /var/run/rsyncd.lock 1.2 /var/log/rsyncd.log 1.3 /var/log/rsyncd.messages 2 chmod +t /tmp 3 Update configuration files 3.2 chown -R Administrator.Administrators /etc/rsyncd.conf 3.1 chown -R Administrator.Administrators /etc/rsyncd.d 3.2 chown -R Administrator.Administrators /etc/rsyncd.d/rsyncd.secrets 3.3 chmod u+rwx,g-rwx,o-rwx /etc/rsync.d 3.4 chmod u+rw,g-rwx,o-rwx /etc/rsync.d/rsyncd.secrets -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/