delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/03/11:16:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 3 Nov 2009 17:16:12 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Accessing GLOBALROOT paths - a potential compromise???
Message-ID: <20091103161612.GQ7831@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <19183 DOT 53891 DOT 243601 DOT 62109 AT consult DOT pretender> <20091103154430 DOT GO7831 AT calimero DOT vinschen DOT de> <20091103155403 DOT GP7831 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20091103155403.GP7831@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Nov  3 16:54, Corinna Vinschen wrote:
> On Nov  3 16:44, Corinna Vinschen wrote:
> >   $ ./DefDosDevice X: '\??\GLOBALROOT\Device\HarddiskVolumeShadowCopy1
> >   $ cd /mnt/x
> 
> Oops... replace /mnt/x with /cygdrive/x.  I have changed my cygdrive
> prefix to /mnt locally.  Sorry for any confusion.

Out of curiosity I experimented some more with this, and it's 
even more simple than that.  Defining X: like this:

  $ ./DefDosDevice X: '\Device\HarddiskVolumeShadowCopy1'

works out of the box, even with Windows Explorer.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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