chere + mintty doesn't work with mapped drives

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Dec 1 21:09:00 GMT 2013


On Dec  1 15:48, Charles Butterfield wrote:
> > -----Original Message-----
> > From: David Kilroy [mailto:kilroyd@googlemail.com]
> > Can you run the following commands from mintty running bash vs cmd
> > running bash:
> > 
> > cygpath -u "y:\apps"
> > test -d /cygdrive/y/apps
> > echo $?
> > 
> > Result of the first command should be /cygdrive/y/apps 2nd command
> > shouldn't output anything Result of 3rd command should be 0 (true)
> > 
> > Dave.
> 
> Results from MINTTY+BASH:
> ----------------------------------
> $ cygpath -u "y:\apps"
> /cygdrive/y/apps
> 
> $ test -d /cygdrive/y/apps
> 
> $ echo $?
> 1
> 
> Results from CMD+BASH
> ------------------------------
> $ cygpath -u "y:\apps"
> /cygdrive/y/apps
> 
> $ test -d /cygdrive/y/apps
> 
> $ echo $?
> 0

Are you starting mintty with "run as administrator" by any chance?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20131201/640dcb05/attachment.sig>


More information about the Cygwin mailing list