X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C68A3892037
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1604616006;
	bh=ixJ8uqtSbYDUjBXhs7u7rRmMBTKTjIWdoAsLxDkRvIg=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=QTH0uoUQEfEZKbLBUh7ODvOSOVE7nIAvjA4YCiulnwfsLcLcciouwu3zqkhw6Ghok
	 26VOPtbqpX/8GRjrc8p8KSvciHQrEfRPRtG5dZ8zmEjV/N2qWbGnJWDtGxhchPq4EH
	 aa2XcHSi7jjl0UFkaRBP7DhG8dmqo2uJQtNajbu4=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 071DC3892005
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ZVw6ovoDM6GSeO7LjX8Gi70CFx+i8CVx6NaYDnfV+SwbvzC3qY237VIib1RxiNh99ejVCYBXP8w/5bkwUxsa3QV6UJpTYihn9G3R08F8EfVziU4Bj83V+N30EOoqGqQ4KjFbMxWAYNvNsIBAX0mWr/SQLWVRkWvrI1Yd3DpG5MZJbAi+5bXRzXNhDvWraJLJ/EOCIHwRtMxLCZGEDJ3uMQ9y72lPI1seO9B4umo/7e7iue9Wupgdbm8HUrQx5OaplZIOjYHJfAX/kCa27mg75V3r9Qq2UDL5mG2o4sEeOi48vawU98B85Lwf2KTyFobIt4PNpzmxXg1VGyr6K5Dh1g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=ZnnvRJntxaWWqeEs2KrxwptRhazoxNUzW+gncVlpo+s=;
 b=iGRcfvSMmCvC0Nm20IvY/Dv0+qigyJMgrxZiSA58qMU0Ab9v4QI1xowsRwdp8bvzOl+fP0m5WSGEhSLsAXO4pi7nyakJPUzHv8atw7xh4RlpbA2SYqfA7sYU3p5l8QxAW3px1qZ/Wp0CVi8ey5wn0PsG3j/1HEzcQCBIOoGS1k44MIPu+W+5o3VUdahXFlOHryuQEhM6KGiriH5WSwlBH5FKvbKmPEHV7d+vt0VBQ1VYJYMWDGa6Hbc7d6gwePmC0CplzLEen6U4TeZ74wtYrwamV0ZQjpASr6cnKMzvDlIYGrGoojb50zTfyfxZLDk8qy46zD60gc9Ns6wTJl/lQQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
 dkim=pass header.d=cornell.edu; arc=none
Subject: Re: Strange paths in NTFS reparse points created by Cygwin Setup for
 e.g. TTF fonts
To: Michael Soegtrop <MSoegtrop@yahoo.de>, cygwin@cygwin.com
References: <245e2446-8c1e-cbaa-a4ad-215d7e766274.ref@yahoo.de>
 <245e2446-8c1e-cbaa-a4ad-215d7e766274@yahoo.de>
Message-ID: <bb3e651e-bedf-5c17-f3e3-48d8cc98b6fd@cornell.edu>
Date: Thu, 5 Nov 2020 17:39:58 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.4.0
In-Reply-To: <245e2446-8c1e-cbaa-a4ad-215d7e766274@yahoo.de>
Content-Language: en-US
X-Originating-IP: [2604:6000:b407:7f00:4d7:217c:b95e:420c]
X-ClientProxiedBy: BL1PR13CA0300.namprd13.prod.outlook.com
 (2603:10b6:208:2bc::35) To MN2PR04MB6176.namprd04.prod.outlook.com
 (2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [IPv6:2604:6000:b407:7f00:4d7:217c:b95e:420c]
 (2604:6000:b407:7f00:4d7:217c:b95e:420c) by
 BL1PR13CA0300.namprd13.prod.outlook.com (2603:10b6:208:2bc::35) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.13 via Frontend
 Transport; Thu, 5 Nov 2020 22:40:00 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 895f94db-febe-4373-fdbd-08d881dbbaae
X-MS-TrafficTypeDiagnostic: MN2PR04MB5646:
X-Microsoft-Antispam-PRVS: <MN2PR04MB564671E08ABC3BBFD39EA4AAD8EE0@MN2PR04MB5646.namprd04.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: q9/UTHan4pf4yb9pLHzAG/y8ZRZjZb+LL7jqwfZZReQvPmco4iDkGBbHAcw7iVLinOmiB5ZgPf1tLMNHfIomHIqKq6m/N7PSjf5LpFomtUGG5eqlNSFw4l+IwrdvbOlJRZfq7tCVzQNCpcygTnuytof3ASgdovmqzsXy69ArvFuMuqQDe89TCfkVPtSMVYXVkLatBmIV9RN9dn7WbNkLCpoI/frcw5baDtDuc/tJ5Pg+PEBYlfGHGdbGM5L19e0SixDTrNFadZj5qSTQtLCAn2zI/riOE0mNRd53U9NyUS9vS2faFQwWEMshas020cMVTPWcSsBLu7QrzJ7xsqkdPpbnhQSNDV6G/c/RIMH7VVjj9AoNnn2M+nFTAT9AXiW9wfwcplTMEKi97LE2bL+31XleSIqKzS6AXpKvYp5ux4/byateLpDv86x/zJAWLGpCaxHVmIHPFFcxBQ/f6VAZiQ==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(4636009)(366004)(396003)(39860400002)(376002)(136003)(346002)(8676002)(2616005)(31686004)(8936002)(86362001)(66946007)(2906002)(83380400001)(6486002)(75432002)(66556008)(786003)(31696002)(316002)(52116002)(16526019)(478600001)(5660300002)(45080400002)(186003)(53546011)(36756003)(66476007)(966005)(43740500002);
 DIR:OUT; SFP:1102; 
X-MS-Exchange-AntiSpam-MessageData: cqxGqx7L8l2sfPLGwsiKKHSMhzeCPrZy2uMc+JA+ucOQJ2392Z6lE7qWrHlXEwWdwg6YUXc9R81fIi7EYjvQKWhEB/agXv9m3fybqytKJew8WeGYEMMFdXqLAQkakuKUkdqT+laSmYqRlNY87DKZKDddUnt2vf5fzj+12T06ucyR4JTfSQouLAvdChdMhnl5Nw+C2nIXZ9HUosFAuKiqBy9nOJgo5Y23AnvUeI6LmJu4jzc0Sr4wBa/s+3yIdnvn/ssBWphJu5ICmYXVMIhh9EgywDNL+3Fne4jculuVOC9Fpdqe2EGWbWuOfy67F6JXjwVIIQY3zrcdZg/Pwl3G+Pv3V4stN4VRHLRbN7SsTC8aa+U3yjsP4T7HxAnIMQ6PcP8JOEB0gixkkACrHA/JrtNPIinAOFJnn/LL1rSyTUIBKZmkMlsnaTEPLiTGwgXbnaqqjjEV/W/NIShbD6tTdIlLJr5CjQ8OymEdx3nFEIexMu8pYSoszNmexA9bmh6JLkoXPSlQsP8eDRaBrxAhL0otb+W8RYdVPJ1nAOv2MttiXR8xIVL1nch/BH73FwtsQQwXKdm7Rvm9plGLzB8x5B3NqVnQL0amMJvNm1hU/grS9Tm6DH2JEHn3Y6LEAeEbypxVG4VbPsrwif7yOlqXS0DuKwdn/OLPyXqH/ffFaYAPGLr/OaFVv5H6gCpZtcpqnyYTl+rF9Ni3+2tqjxzv2Q==
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 895f94db-febe-4373-fdbd-08d881dbbaae
X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2020 22:40:00.5584 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: sLBVntOARvcuu6qi08l9pH2RNS1Kq4MYVcaO5HJsbnXELovSi2FMnFMXxsayzeeQkX8ICdQ3kKZ8PwH7RPQPZw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5646
X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_00, BODY_8BITS,
 DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER,
 NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: **
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin@cygwin.com>
Reply-To: Ken Brown <kbrown@cornell.edu>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0A5Mea2O021533

On 11/5/2020 4:41 PM, Michael Soegtrop via Cygwin wrote:
> Dear Cyhwin Users and Team,
> 
> since a while I have issues removing cygwin installations, especially the 
> symlinks to true type fonts in /usr/share/fonts/microsoft.
> 
> Looking at these links with Windows tools I get:
> 
> C:\bin\cygwin\usr\share\fonts\microsoft>fsutil reparsepoint query wingding.ttf
> Reparse Tag Value : 0xa000001d
> Tag value: Microsoft
> Tag value: Name Surrogate

This is the IO_REPARSE_TAG_LX_SYMLINK tag, which WSL uses for symlinks and which 
Cygwin also uses by default for symlinks on systems that support it.  But you 
can change this if you don't like it, as I said in my reply to your earlier 
message about this:

   https://cygwin.com/pipermail/cygwin/2020-September/246277.html

> Reparse Data Length: 0x00000025
> Reparse Data:
> 0000:  02 00 00 00 2f 6d 6e 74  2f 63 2f 57 69 6e 64 6f  ..../mnt/c/Windo
> 0010:  77 73 2f 46 6f 6e 74 73  2f 77 69 6e 67 64 69 6e  ws/Fonts/wingdin
> 0020:  67 2e 74 74 66                                    g.ttf
> 
> I wonder if the path "/mnt/c/Windows/Fonts/wingding.ttf" is something which 
> should be written into a NTFS reparse point by cygwin setup. Probably not - it 
> looks like a cygwin path and it is understandable that this confuses NTFS.

It's not written by setup.  It's a Cygwin symlink [also a WSL symlink, as I said 
above], created by the postinstall script

   /etc/postinstall/zp_fontconfig_cache_1.sh

The fact that it contains a Cygwin path as its reparse data is not at all 
surprising:

ls -l /usr/share/fonts/microsoft/wingding.ttf
lrwxrwxrwx ... /usr/share/fonts/microsoft/wingding.ttf -> 
/c/Windows/Fonts/wingding.ttf

Ken
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

