This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin 1.7: Problem with Windows 2008 mount point folders


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]