delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/05/11:11:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4911C4A4.6040803@cygwin.com>
Date: Wed, 05 Nov 2008 11:07:00 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080723 Fedora/2.0.0.16-1.fc8 Lightning/0.9 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.25.-15 cwrsync 2.1.3 remote host mounted network drive: permission denied
References: <E1KxgDP-0003OH-00 DOT _oiler_-mail-ru AT f80 DOT mail DOT ru>
In-Reply-To: <E1KxgDP-0003OH-00._oiler_-mail-ru@f80.mail.ru>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

Евгений 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019