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: 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=-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 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: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline In-Reply-To: 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--