delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/24/07:16:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 24 Aug 2009 13:16:22 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7: Problem with Windows 2008 mount point folders
Message-ID: <20090824111622.GA13930@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4A925A3C DOT 7080708 AT ts DOT fujitsu DOT com>
MIME-Version: 1.0
In-Reply-To: <4A925A3C.7080708@ts.fujitsu.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
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 Aug 24 11:15, Dieter Meyer wrote:
> Hi,
> 
> using Cygwin on Microsoft Windows Server 2008 I can't create directories
> within (or below) mount point folders. Obviously Cygwin fails to stat
> mount point folders in general.
> 
> For example I have a partition mounted at C:\Data:
> 
> DISKPART> list volume
>   Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
>   ----------  ---  -----------  -----  ----------  -------  --------- 
> --------
>   Volume 2    Data  NTFS   Partition        8189 MB  Healthy    C:\Data\
> DISKPART>
> 
> bash-3.2$ mkdir /cygdrive/C/Data/test
> mkdir: cannot create directory `/cygdrive/C/Data/test': No such file or
> directory
> bash-3.2$ cd /cygdrive/C/Data
> bash: cd: /cygdrive/C/Data: No such file or directory
> bash-3.2$ ls -la /cygdrive/C/Data
> lrwxrwxrwx 1 4294967295 mkpasswd 54 Aug 19 11:24 /cygdrive/C/Data ->
> /cygdrive/c/ume{b878e35d-8c9f-11de-b1bc-000c29768552}/
> bash-3.2$ cd /cygdrive/C/Data/product
> bash-3.2$ ls -al
> ls: cannot access ..: No such file or directory
> total 4
> drwx------+ 1 4294967295 mkpasswd    0 Aug 20 09:17 .
> d?????????? ? ?          ?           ?            ? ..
> drwx------+ 1 4294967295 mkpasswd 4096 Aug 20 13:24 base
> bash-3.2$
> 
> Is this a known problem or restriction? Any idea how to bypass the problem?

It's a bug in Cygwin.  The reparse point check for volume mount points
only worked for XP and Server 2003, not for Vista and later.  I fixed
that in CVS.  It will be in the *next* snapshot from
http://cygwin.com/snapshots/.


Thanks for the report,
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