cygrunsrv, rsync, w2k
Network Operations
NOC@GSRider.Com
Wed May 21 18:01:00 GMT 2003
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/
More information about the Cygwin
mailing list