X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=uyCBNeVAr1NQg/Qm0mUIK6GWem9XL WmyX8sVc9fzbaer8hk0cIGipcKHQeM1atI+1WZZ2zHY7lofWsoBY91A0bj5FOdVg O7JxbgQKrx8V7Rb9BqkOHtauIK3yIJNopZl722W5spqEZivY843cCv5cYJ2+tuv9 sGBd63cXcmsbgE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=0KOuaYaTcaiyee2KH32Xi1qa8NM=; b=KVA HG1hILS9KAmCJGKxeGZMDPDBJL1NGE1ByvvKmG+bZ7o821Sy2gtR1cqtS67Yh9i4 IwRIp5b7tA9GNPwNunm8bt6FAgU1Qi+6w6TzHqmC+HbH15Mh6gOIA2Q/GAt2ECx0 1CqDQKzjsF/5g8wX9pnVcvn4+VXrn3bEPC6efKD4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RDNS_NONE,SPF_NEUTRAL autolearn=no version=3.3.2 X-HELO: na01-by2-obe.outbound.protection.outlook.com From: Charles Butterfield To: Dave Kilroy , "cygwin AT cygwin DOT com" CC: Charles Butterfield Subject: RE: chere + mintty doesn't work with mapped drives Date: Mon, 2 Dec 2013 23:58:23 +0000 Message-ID: References: <00ce27600b2e404cbb8f9e56c3994e8c AT CO2PR07MB556 DOT namprd07 DOT prod DOT outlook DOT com> <5299A4BF DOT 8070201 AT gmail DOT com> <529B529F DOT 7080608 AT googlemail DOT com> <9ce71b17ad604e5c943e3c3731b145d1 AT CO2PR07MB556 DOT namprd07 DOT prod DOT outlook DOT com> <20131201210920 DOT GA11800 AT calimero DOT vinschen DOT de> <529CDBE8 DOT 8000003 AT gmail DOT com> In-Reply-To: <529CDBE8.8000003@gmail.com> x-forefront-prvs: 0048BCF4DA x-forefront-antispam-report: SFV:NSPM;SFS:(479174003)(51704005)(199002)(189002)(13464003)(24454002)(49866001)(74662001)(74876001)(83072001)(4396001)(54356001)(76576001)(74706001)(51856001)(50986001)(76796001)(87266001)(81816001)(46102001)(47976001)(31966008)(56816005)(90146001)(54316002)(81542001)(74366001)(74316001)(2656002)(87936001)(76786001)(47736001)(19580395003)(80976001)(76482001)(69226001)(83322001)(81342001)(63696002)(19580405001)(74502001)(56776001)(85306002)(79102001)(77982001)(81686001)(65816001)(59766001)(47446002)(33646001)(66066001)(80022001)(53806001)(85852002)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:CO2PR07MB556;H:CO2PR07MB556.namprd07.prod.outlook.com;CLIP:72.81.217.80;FPR:;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: nextcentury.com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id rB2Nx3FV028023 > -----Original Message----- > From: Dave Kilroy [mailto:kilroyd AT googlemail DOT com] > On 01/12/2013 21:09, Corinna Vinschen wrote: > > Are you starting mintty with "run as administrator" by any chance? > Corrina's right - check that the same user is being used in both cases. > I don't think this would explain why it's not working from the context menus > though. Finding out why bash under mintty doesn't think /cygdrive/y/apps is > a directory is the key. SOLVED Yes, I was starting mintty "as admin" and yes this was the culprit. I was doing this by using a shortcut (similar, but not identical to the installed "Cygwin Terminal" shortcut), that had the checkbox "Compatibility|Run this program as an administrator" enabled. I ASSUMED this would only affect mintty when launched from this shortcut. HOWEVER, it seems that this changes a property associated with mintty regardless of how it is launched. Apparently another "Wonder of Windows". Unchecking the "run as admin" fixed the problem associated with accessing the mapped drives everywhere (including the "Bash Prompt Here" xhere Processing). The reason I was running as admin was that many of the network centric scripts that I use frequently during certain phases of various projects seem to require admin privs and simply fail without any attempt to escalate (which I seem to recall is due to a mismatch between the Windows and Unix Security models). I guess I'll have to rethink that approach. Any suggestions on how to have a shortcut (or something similar) that runs mintty as admin, but has no global effect on other mintty launches?