delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/18/10:15:51

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=guAKwtqIcBNqK3qo4QGDFLlLajMREslL6BYnz9eL7sbn6XTrqNv2k
FgRHcCctHxzmjUzlO+eHGgqRWYfKeTWcyKVj174VAFA7Xe8fpsC7wxdQNjWNRhUH
goTmoMzEyYpP6LLzxj2X9qqCo4svjYC1S35fxk7ciahll1ujHmF5kY=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=u0VRIOAWZFylQQnEU01VBRLNnl0=; b=V3GLpqq5BS6hkOFx7YQ7ypMnexhu
nc+WmVBgV94pgx0mRxBPPuwdFeEqH9TIj40WfcBTFHSjbiAxgTFHtYWSwQHQWA4p
zt+9lVx+owu4+nUy/lElEiZWezBjVQct+C/DfALA08UVIvENLAPPhZ4F7PFdONix
7t9FUyfL0INQB/E=
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=-101.5 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=dear, Dear, Team, H*F:D*cygwin.com
X-HELO: drew.franken.de
Date: Fri, 18 Nov 2016 16:15:07 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: case sensitivity on Windows 7 Enterprise with NTFS drive
Message-ID: <20161118151507.GD22194@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAMySpjTXuOSvxjE3+G7U=A9Z-4c7pKS=N3gHn-oN+in=HhHdZQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAMySpjTXuOSvxjE3+G7U=A9Z-4c7pKS=N3gHn-oN+in=HhHdZQ@mail.gmail.com>
User-Agent: Mutt/1.7.1 (2016-10-04)

--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 18 13:59, Matthias Herz wrote:
> Dear Cygwin Team,
>=20
> on my cygwin installation I have problems with case sensitivity although I
> did everything described here:
> https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casese=
ns=3D
>=20
> I really need case sentitivity since I would like to use OpenFOAM (c++ cfd
> library) inside cygwin and OpenFOAM has a bunch of files like scalar.H and
> Scalar.H.
>=20
> The minimal example for my problem is:
> >mkdir test1
> >touch test1/file.txt
> >touch test1/File.txt
>=20
> This gives me
> test1
> |-- file.txt
> |-- File.txt
>=20
> This means touch is somehow case sensitive but
> >cp -r test1 test2
> fails with the message:
> >cp: cannot create regular file /test2/file.txt: File exists

Works for me, I just tested it on a local NTFS.  Is the file tree on
some remote FS by any chance?  If so, what Fs is it?  Some FSes are
known to have (not so) funny bugs when deviating from Windows defaults.
Or, was the CWD set the same way when calling mkdir vs. when calling cp?
If you use Windows path rather than POSIX paths, case sensitivity won't
work since WIndows paths ar handled with Windows default assumptions.

Bottom line is, I *know* it works, and it does so since Cygwin 1.7.1.
There must be some quirk in either your FS or in your path handling.


HTH,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--aM3YZ0Iwxop3KEKx
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYLxr7AAoJEPU2Bp2uRE+gSr0P/jDwiF/9UwnoBU5MUHnKhqV5
dqEH/S2kL/AurKqPs7+A8G7Io0V1v/irpz5Q5azwl8J6wMiqM8wKoqaT3xOrZW3Z
lad3XW1H1pI0JXEsxw2B9/tlkeyMS/Pdtvc1MmhpXFK005BcKKYB9Dw0iVVmooyX
CkYa0rp7U6lJ/5UUxm3psILjdOkSbcyy3CWmH6Ru+XY7xWl6h+1yxK1mSlcWlvz6
9sSpzYCSK/zh7PqHvfIhzSYO56RYRFtX5Cy9g1tJyghzJ04U0dq/sOzq9QVXSnPP
sUSq9H0NWeWkUkbVhKa8WBJ3EeMnkeprRWCt0m/W6KdTBXQt6oGDY/eM0ysokLFr
EnvIbXw/bBH6OG0ZylkBHxwWxje4uWGwupLPEzMMVml6lYPi9Lw10XjPOm0ywzr8
X/uHZ8DAoCnMTuSltCUSwNisIT0fUIENu+lT4kdqB6DJDZ2tc9enYsJykDorBsdH
LHh8BsVvSaRgIQomIajM07uLeeESalfctWrVu3Ui0UQ10SPzhYmgXJ8lT1fk3f/s
/CNEV+dH2Vs7KFHJlknIjS5hfxkV/D1Hnn+6XmjmVBPlSGM0pKH8BlHvRF+wZQSx
boXn0GS7UAmsDEq2952A7dODe+bGDdY58BOfQA4F05j6f03dJzYH/34qraOEORiM
iKP80g/j9cU3+kR/0LCW
=IMKl
-----END PGP SIGNATURE-----

--aM3YZ0Iwxop3KEKx--

- Raw text -


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