Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Alan Chandler To: cygwin AT cygwin DOT com Subject: Problem with rsyncd in Windows XP Date: Sun, 13 Nov 2005 08:41:43 +0000 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200511130841.43582.alan@chandlerfamily.org.uk> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jAD8fh3P028346 I have long backed up my work laptop (running win2k) by running the rsync daemon using cygrunsrv on the lap top and using an overnight cron job from my Debian server to suck out all the data and save it. I have just got a new laptop that runs XP (professional).  I set up rsync on there identically to before.  From my server, I can get see that the rsync daemon is running because I can get it to list the modules it will serve. However as soon as I try and access any data for real I get access denied failures  (see below for the output) roo:~# rsync rabbit.home:: system          the complete c drive alan            Alan's specific user space roo:~# rsync rabbit.home::alan/ @ERROR: access denied to alan from roo.home (192.168.0.20) rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(420) roo:~#   One difference - the new file system is NTFS, the old one was FAT32. Ethereal on the link just has the simple exchange above, no other data Nothing is being logged (despite cygrunsrv directing stdout and stderr to a log file) as to what the problem might be, so I am finding it hard to debug.   Here is /etc/rsyncd.conf --------------------------------------------------------------------------- chroot = false strict modes = false hosts allow = 192.168.0.0/24 127.0.0.1 gid = SYSTEM [system] path = /cygdrive/c comment = the complete c drive uid = Administrators [alan] path = /cygdrive/c/Documents\ and\ Settings/ChandlerA comment = Alan's specific user space uid = chandlera -------------------------------------------------------------------------- rync is being run by cygrunsrv with just the --daemon and --no-detach flags My directory (the one pointed to by module [alan] has permissions (from a cygwin bash shell) as mod 775, owner Administrators.SYSTEM and the files inside this directory are owned by chandlera.SYSTEM Anyone and ideas? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. -- 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/