From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103724 invoked by alias); 19 Oct 2016 14:47:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 103666 invoked by uid 89); 19 Oct 2016 14:47:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1317 X-HELO: limerock04.mail.cornell.edu Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Oct 2016 14:47:41 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u9JEldfX020321 for ; Wed, 19 Oct 2016 10:47:39 -0400 Received: from [192.168.1.9] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u9JElc4e022220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 19 Oct 2016 10:47:39 -0400 Subject: Re: case sensitivity bug? To: cygwin@cygwin.com References: <43ca1dd7-3042-88b1-dbb7-59b02f13d331@cornell.edu> <20161019112735.GB4801@calimero.vinschen.de> From: Ken Brown Message-ID: <01783187-fd5e-12b2-a0ac-c77ca0090ebb@cornell.edu> Date: Wed, 19 Oct 2016 15:09:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161019112735.GB4801@calimero.vinschen.de> 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 X-SW-Source: 2016-10/txt/msg00232.txt.bz2 On 10/19/2016 7:27 AM, Corinna Vinschen wrote: > On Sep 20 20: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. > > Looks like a *very* old misbehaviour. I applied a patch to Cygwin > to fix this. I'll create a snapshot later today, please test. That fixes it. Thanks. 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