www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/05/06:07:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: =?koi8-r?Q?=E5=D7=C7=C5=CE=C9=CA?= <_oiler_ AT mail DOT ru>
To: cygwin AT cygwin DOT com
Subject: =?koi8-r?Q?1.5.25.-15_cwrsync_2.1.3_remote_host_mounted_network_drive=3A_permission_denied?=
Mime-Version: 1.0
X-Mailer: mPOP Web-Mail 2.19
Date: Wed, 05 Nov 2008 14:06:23 +0300
Reply-To: =?koi8-r?Q?=E5=D7=C7=C5=CE=C9=CA?= <_oiler_ AT mail DOT ru>
Message-Id: <E1KxgDP-0003OH-00._oiler_-mail-ru@f80.mail.ru>
X-Spam: Not detected
X-Mras: OK
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

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?

Without using the network drive x on wst1 all works perfectly (c is a local drive on wst1), e.g.:

rsync -rzv -e "ssh.exe -p 1220 -i C:\id_dsa" rsyncuser AT wst1:/cygdrive/c/rsync/ /cygdrive/z/rsync/

The user rsyncuser has all necessary rx permissions to the synchronized data on x drive.

On wst1 the drive x is mounted in cygwin with system <binmode,noumount> attributes.

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?

Any ideas and suggestions would be very much appreciated.

Thank you in advance.


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