delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/08/17:59:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <matthias DOT meyer AT gmx DOT li>
Subject: Re: rsyncd cannot access volume shadow copy
Date: Sun, 08 Mar 2009 23:58:33 +0100
Lines: 36
Message-ID: <gp1iiq$4b8$1@ger.gmane.org>
References: <gnfkij$sgg$1 AT ger DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
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

Matthias Meyer wrote:

> Hi,
> 
> I run cygwin in Vista:
> 
> I can create a volume shadow copy with vshadow from the Microsoft SDK as
> well as map it to drive B:.
> 
> I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the
> same user which has mapped the shadow copy to the drive.
> 
> But I can not access the shadow copy from terminals of other users.
> 
> AND my rsyncd, which runs under the same user where the shadow copy was
> mapped, can't access /cygdrive/b.
> 
> rsync: chdir /cygdrive/b failed
> 
> Any hint?
> Thanks
> Matthias

Now I can access the volume shadow copy from rsyncd. But I have to start the
rsyncd from a terminal (remote ssh session). If I run it as a service by
cygrunsrv it can't access the volume shadow copy.
It is the same in XP and Vista as well as in Home or Professional/Business
versions.
I've double check that the cygrunsrv/rsyncd runs in the same user which call
the dosdev.
Is there some special rights or environment for processes runs as service?

br
Matthias
-- 
Don't Panic


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