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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=PYaq/GmAL2SlEqvI W6bR4IdZTF8GEWebs0gjk2+iEpVxauOrr4kMoBppyATk8RLUhq+E9tWcV3D3gANf n8ljUs9rFd0AhIS1nn7m+f9PoALm8FGJJgBfc2rZVsz/OgzC0bN48eo0ZQQAZUla bVyrC3Fgt76CxvnUDu3Du1YulK8= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=o5kvYJf5wAhLxnG8xwBpyK BSNFQ=; b=MN8ziDjZB1qC1WszpKZw81Hv3dtyCRoTjOhSFY9ZiFx400+pCpMgNX 86qU0co9kC47awP3bzQJJqGdT0ebq9j9/HGXX6is/Xdc3N7cOTSCF7u/eGfhrpJ8 n2XWG6rOOgIHt/ZmGoLrHhQ+LA4ujK83d3uxUBLV7/vC2zDcj/Xb8= 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=-4.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:6aa79b3, cited, H*MI:sk:6aa79b3, H*f:sk:6aa79b3 X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: case sensitivity bug? To: cygwin AT cygwin DOT com References: <43ca1dd7-3042-88b1-dbb7-59b02f13d331 AT cornell DOT edu> <6aa79b30-fa27-c5b6-e597-d40b82eee313 AT SystematicSw DOT ab DOT ca> From: Ken Brown Message-ID: Date: Wed, 21 Sep 2016 12:59:31 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <6aa79b30-fa27-c5b6-e597-d40b82eee313@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes On 9/21/2016 12:32 PM, Brian Inglis wrote: > On 2016-09-20 18:33, Ken Brown wrote: >> I've set up my Cygwin installation to be case sensitive, following the >> instructions at >> https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive >> >> But it doesn't seem to be working as I expect. For example: >> $ mkdir a >> $ mkdir A >> $ ls -al [aA] >> a: >> total 100 >> drwxr-xr-x+ 1 kbrown None 0 2016-09-20 20:18 ./ >> drwxrwxrwt+ 1 kbrown-admin None 0 2016-09-20 20:19 ../ >> A: >> total 100 >> drwxr-xr-x+ 1 kbrown None 0 2016-09-20 20:19 ./ >> drwxrwxrwt+ 1 kbrown-admin None 0 2016-09-20 20:19 ../ >> $ mv a A >> mv: cannot move 'a' to a subdirectory of itself, 'A/a' >> Why does mv think that A and a are the same directory? >> Here's another example, where mv should simply do a rename, but it >> doesn't: >> $ rmdir A >> $ mv a A >> $ ls -al a >> total 100 >> drwxr-xr-x+ 1 kbrown None 0 2016-09-20 20:18 ./ >> drwxrwxrwt+ 1 kbrown-admin None 0 2016-09-20 20:30 ../ >> $ ls -al A >> ls: cannot access 'A': No such file or directory >> cygcheck output is attached. > > Windows Win32 and WoW are case insensitive but case preserving where the > underlying > filesystem supports case sensitivity; POSIX subsystem is case sensitive: > > https://support.microsoft.com/en-us/kb/100625 (N.B. NT 3.1!) > > Nitty gritties: > > http://www.nicklowe.org/2012/02/understanding-case-sensitivity-in-windows-obcaseinsensitive-file_case_sensitive_search/ Thanks for the pointers, but I'm not sure how that's related to my bug report. Did you read the section of the Cygwin User Guide that I cited? Ken -- 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