X-Recipient: archive-cygwin@delorie.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@cygwin.com>
Reply-To: cygwin@cygwin.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@cygwin.com
Subject: Re: 1.5.25.-15 cwrsync 2.1.3 remote host mounted network drive: permission  denied
References: <E1KxgDP-0003OH-00._oiler_-mail-ru@f80.mail.ru>
In-Reply-To: <E1KxgDP-0003OH-00._oiler_-mail-ru@f80.mail.ru>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@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/

