This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
cygrunsrv, rsync, w2k
- From: Network Operations <NOC at GSRider dot Com>
- To: Cygwin at Cygwin dot Com
- Date: Wed, 21 May 2003 13:11:11 -0400
- Subject: cygrunsrv, rsync, w2k
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/