From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-045.btinternet.com (mailomta22-sa.btinternet.com [213.120.69.28]) by sourceware.org (Postfix) with ESMTPS id 1B1F938460B4 for ; Thu, 25 Apr 2024 13:15:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B1F938460B4 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dronecode.org.uk ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1B1F938460B4 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=213.120.69.28 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714050907; cv=none; b=hOl7sG63qP18W/3ev9rrDD/7+l1R42wCd5ERsweouz3cx9V9VuG8oqdENZbcmEFzUu0PJGEok+Gh3F6sm84SJmcq5045jCG2bgh0NGTl21+nWa4UYaN+g4AVnHbv0xS2Er05EtwSnd2UYg05Em7W3TGEuaT+qzRQ7fhgXslRoIQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714050907; c=relaxed/simple; bh=9gqwpNE6PguJX5nnyb3uBSFj0Li1E40Jex6CpjRew2c=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=MY4vMh/uF59eVCfU5wG5hqDD+UPd9UG6Jl3ViPitMSz7ummkyxu/sRfkLe5Cnr1EZE2BijqE1Co1LxEQF2i1OsjGCx/IDo6uyN/oe1XFLjbwMlQP3Wy/TpHP0WWw88f+ytmkOOLgI8aKnjCo9DO4Tp8la2uTpyqS2LntRg/ggmY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from sa-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.38.5]) by sa-prd-fep-045.btinternet.com with ESMTP id <20240425131503.YDAZ29451.sa-prd-fep-045.btinternet.com@sa-prd-rgout-002.btmx-prd.synchronoss.net>; Thu, 25 Apr 2024 14:15:03 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 65A567CD0B6DF27B X-Originating-IP: [86.140.112.82] X-OWM-Source-IP: 86.140.112.82 X-OWM-Env-Sender: jon.turney@dronecode.org.uk X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvledrudeljedgieduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeevvdekgfffteetueehgfdugefgkeevleejudduheevuedtveejfeevvdevvdfgvdenucfkphepkeeirddugedtrdduuddvrdekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtlegnpdhinhgvthepkeeirddugedtrdduuddvrdekvddpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptghlrgihnhgvsegrnhhoughiiigvugdrtghomhdprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrvghvkffrpehhohhsthekiedqudegtddqudduvddqkedvrdhrrghnghgvkeeiqddugedtrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpehsrgdqphhr ugdqrhhgohhuthdqtddtvd X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.109] (86.140.112.82) by sa-prd-rgout-002.btmx-prd.synchronoss.net (authenticated as jonturney@btinternet.com) id 65A567CD0B6DF27B; Thu, 25 Apr 2024 14:15:03 +0100 Message-ID: <970d3bc2-497e-4f10-a3e0-8b9701d8601b@dronecode.org.uk> Date: Thu, 25 Apr 2024 14:15:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: native symlinks and non-existent targets To: clayne@anodized.com References: From: Jon Turney Content-Language: en-US Cc: cygwin@cygwin.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 24/04/2024 23:36, Christopher Layne via Cygwin wrote: > On Wed, Apr 24, 2024 at 10:11:52PM +0000, Christopher Layne via Cygwin wrote: >> Based on past threads I've read I believe the issue is actually with >> windows not allowing a symlink to be created with a non-existent target, >> but I do know windows does not care if you break a link after the fact. > > Actually, after referring to some microsoft documentation, is this even > true? No. However, native symlinks do record the type (file or directory) of the destination, and (absent special knowledge) this cannot be determined if the destination doesn't exist (yet). If I recall correctly, Cygwin doesn't care if the type recorded in the symlink is incorrect, but some parts of Windows do... > If it isn't true then this seems trivial to fix. This assertion is trivially disproven by the lack of a patch attached. :)