1.5.25.-15 cwrsync 2.1.3 remote host mounted network drive: permission denied

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Nov 5 16:11:00 GMT 2008


Евгений wrote:
> Hello,
> 
> Could you please give me some hints about how to correctly use Windows
> mounted network drives remotely from cwrsync (cygwin)? I have the following
> issue:
> 
> At main office we have a work station (let's call it wst1) with cygwin
> 1.5.25 sshd installed and a data server storing data (let's call it srv1)
> that must be synchronized with a branch office. The synchronized data from
> srv1 is available to wst1 in Windows as an attached network drive (let's
> name it x).
> 
> At the branch office we have a work station (let's call it wst2) with
> cwrsync 2.1.3 client installed and a data server storing data that must be
> synchronized (let's call it srv2) with the main office. The synchronized
> data from srv2 is avaialble to wst2 in Windows as an attached network drive
> (let's name it z).
> 
> cwrsync command line executed from wst2 is as following:
> 
> rsync -rzv -e "ssh.exe -p 1220 -i C:\id_dsa"
rsyncuser@wst1:/cygdrive/x/rsync/ /cygdrive/z/rsync/
> 
> It doesn't work in this way and raises error: rsync: link_stat
> "/cygdrive/x/rsync/" failed: Permission Denied (13)
> 
> What do I do wrong?

<http://cygwin.com/faq/faq-nochunks.html#faq.using.shares>

<snip>

> Perhaps I should use cygwin 1.7 with fstab mount capability with cwrsync
> 2.1.4 with patches to cygwin 1.7 to resolve this issue?

Bingo!  Well it has less to do with Cygwin 1.7's mount capability and
more to do with the new LSA authentication DLL that's available for use
in 1.7.  See the link below for more details.  It's a little dated but
has good info and is still relevant.

<http://cygwin.com/ml/cygwin-developers/2006-11/msg00000.html>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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