delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/21/13:11:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.1.1.0.20030521131035.01aa9558@wheresmymailserver.com>
X-Sender: gsr-mb00 AT mail DOT firelands DOT net (Unverified)
Date: Wed, 21 May 2003 13:11:11 -0400
To: Cygwin AT cygwin DOT com
From: Network Operations <NOC AT GSRider DOT Com>
Subject: cygrunsrv, rsync, w2k
Mime-Version: 1.0

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/

- Raw text -


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