delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/19/10:48:46

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=AfzrVWgBPAqiFQrE
XT2ErREuDRTuFHbsa9TKL2upBotK7dpmuHU14JorHuFxBP+R/gCla8D2VBI9Uz7j
atFsNVzoh6u8ylWu1scghj40EqHEem4X3zv/eS/LveUNVShbc3uzCoGMVpoEllJz
gcGCEA9PEtMRkwzbyJ3r+NDewyQ=
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=Am+L9YjTsVl4mbvY9dH71W
1UjMA=; b=FGnhfIoZkDdFRk+tul4Qr2GfICibq2lV+2wiLF2k7P8I+y1pXHC0zU
xlmY7LJIysPS5OqY+ADkKJ892wZkMlYT840H4HF5uXmFmJUGhjW5AqrTw04q6GzP
NsUaiDBOssa4jBLLUCWBEQnBpxcs+rs/XNK7nyvoKxEj9dQNeOkac=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.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
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> <20161019112735 DOT GB4801 AT calimero DOT vinschen DOT de>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <01783187-fd5e-12b2-a0ac-c77ca0090ebb@cornell.edu>
Date: Wed, 19 Oct 2016 10:47:59 -0400
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>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019