sanalkumar.siva@wipro.com
2005-Nov-09 15:42 UTC
File transfer from/to mapped drive with cygwin rsync
Hello all, When we tried the rsync of files from a network mapped drive (Windows) to Linux host, we are getting the following error. rsync -av <User Name>@<Rsync Server IP>::<Mapped Network Module Name> <Destination> where <Mapped Network Module Name> is the rsync module name defined in rsyncd.conf file for mapped drive. Error :- @ERROR: chdir failed rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(359) All the suggestions on how to do rsync on mapped drive will be very helpful, Thanks in advance, sanal Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately and destroy all copies of this message and any attachments. -------------- next part -------------- HTML attachment scrubbed and removed
On Wed, Nov 09, 2005 at 09:11:52PM +0530, sanalkumar.siva@wipro.com wrote:> @ERROR: chdir failedJust read the server's log file to discover what directory was being attempted in that chdir() call (rsync doesn't like to reveal such info from the daemon to the client). I'm guessing you're trying to use a DOS-style path, which is not supported by rsync (use a cygwin-style path). ..wayne..
sanalkumar.siva@wipro.com
2005-Nov-10 12:28 UTC
File transfer from/to mapped drive with cygwin rsync
Hello Wayne, Thanks for the reply, We tried with cygwin style path also. Still we are getting the same error. Following is the error from rsync server log: 2005/11/10 17:44:32 [1716] rsync: chdir /cygdrive/i/check failed : Permission denied (13) Where I: is a mapped drive in Windows. We've provided the full access to I: for everybody. Will the upgrade to latest rsync will help? We are using rsync 2.6.3. Thanks in advance, sanal -----Original Message----- From: Wayne Davison [mailto:wayned@samba.org] Sent: Thursday, November 10, 2005 5:30 AM To: Sanal Kumar Kariazhath Sivaraman (WT01 - Broadband Networks) Cc: rsync@lists.samba.org Subject: Re: File transfer from/to mapped drive with cygwin rsync On Wed, Nov 09, 2005 at 09:11:52PM +0530, sanalkumar.siva@wipro.com wrote:> @ERROR: chdir failedJust read the server's log file to discover what directory was being attempted in that chdir() call (rsync doesn't like to reveal such info from the daemon to the client). I'm guessing you're trying to use a DOS-style path, which is not supported by rsync (use a cygwin-style path). ..wayne.. Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately and destroy all copies of this message and any attachments.