From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39866 invoked by alias); 19 Oct 2016 11:27:45 -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 39850 invoked by uid 89); 19 Oct 2016 11:27:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sensitive, Hx-languages-length:1321, 20160920, H*F:D*cygwin.com X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Oct 2016 11:27:39 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 8E584721E281C for ; Wed, 19 Oct 2016 13:27:36 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id DCCEC5E01E8 for ; Wed, 19 Oct 2016 13:27:35 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id CB5C5A803CB; Wed, 19 Oct 2016 13:27:35 +0200 (CEST) Date: Wed, 19 Oct 2016 11:29:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: case sensitivity bug? Message-ID: <20161019112735.GB4801@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <43ca1dd7-3042-88b1-dbb7-59b02f13d331@cornell.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yEPQxsgoJgBvi8ip" Content-Disposition: inline In-Reply-To: <43ca1dd7-3042-88b1-dbb7-59b02f13d331@cornell.edu> User-Agent: Mutt/1.7.0 (2016-08-17) X-SW-Source: 2016-10/txt/msg00226.txt.bz2 --yEPQxsgoJgBvi8ip Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1400 On Sep 20 20:33, Ken Brown wrote: > I've set up my Cygwin installation to be case sensitive, following the in= structions at >=20 > https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casese= nsitive >=20 > But it doesn't seem to be working as I expect. For example: >=20 > $ mkdir a >=20 > $ mkdir A >=20 > $ 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 ../ >=20 > 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 ../ >=20 > $ mv a A > mv: cannot move 'a' to a subdirectory of itself, 'A/a' >=20 > Why does mv think that A and a are the same directory? >=20 > Here's another example, where mv should simply do a rename, but it doesn'= t: >=20 > $ rmdir A >=20 > $ mv a A >=20 > $ 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 ../ >=20 > $ ls -al A > ls: cannot access 'A': No such file or directory >=20 > 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. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --yEPQxsgoJgBvi8ip Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYB1inAAoJEPU2Bp2uRE+g2OQP/iWYoCyi42nXe5v7BQnMdCRO VzNT+79O0AOfqIxdaHJa2o9dyW3CmTIp25bhgPX+OA5YoTyByG612Rus7N2CiQi5 dLk4l5rYfKjlm53LnuLBGGZuUsctIg+cIr7e1Kxucut5RiSQwwmFIdMODYlPQZRY EYcTbLX1hfb9SuAdbuJwX72d4t0M3M6I0yhyQEpuYu+28rVgW84iIzQXW4nP3bIu 1ZKVVqSYV97VSw/1OTol/R1VaJUBddg28fLK1wYFnJ4DQcU+NRhSK7eeSI/8q0Cf hEHQPm2NHkFBFlkZRFwlTwp6uMnPcPbSyi9dnQDSdWeBI0aGOnOZlaD27ZxNFW9M QKUKQ7zz55ltPbfJbifwwtKOYxib/1AGW++Vk5QtRM0IsbgODa3tIvzp5zT1Hq6s mhmV7wQeKyw63wvgq55/8+kf9rDC+PbSjlfH5xe0PWQASY4CYKrUNPS9kkYQdMni 7Ai4uhnj02sghVa+tm6UHgud5jaNDE7QH6OBD84lXM6o18jWN9/CqTiE+B2pNj6m aaMFWFK0R91LTP+S1Dm2BCfzJeewNB9oSzMMz9Ibts+Kebkz28v+XUqEbpXjXfQa 0vkFFS9DKunxyqxEEljwG76rJxOg69e5Xc5L8MU0+v4O7O3t7yfeXavs/uXCZz4D bJbDXfTfygw4c4DDRuPo =Sd4h -----END PGP SIGNATURE----- --yEPQxsgoJgBvi8ip--