delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/25/09:16:31

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A91ED3846062
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1714050988;
bh=+PIb9HeGHDSV8epUyUaasJQWMRzxZmw2/8yunNt/KHA=;
h=Date:Subject:To:References:Cc:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=rwCiVGs2elJHEZj1BZDvDDZJMsO37lEVeymGcd9+DC7yFAfacf2riLTf1l2GAtOiX
hvj1JR72kGcRVRQePjd3rNRiZyCTzyMuaz/gYbGE2e1aMLRfBFnQG/dUMJiZtDxqlB
fz9uk72d5CGTB2HQss9QdN0k0HqOUraSEKO6hHhc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B1F938460B4
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1B1F938460B4
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
X-SNCR-Rigid: 65A567CD0B6DF27B
X-Originating-IP: [86.140.112.82]
X-OWM-Source-IP: 86.140.112.82
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT 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
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 AT anodized DOT com
References: <ZimDqKx1R13FdV2q AT mercury DOT signalpunk DOT com>
<ZimJchxllNm8P96S AT mercury DOT signalpunk DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <ZimJchxllNm8P96S@mercury.signalpunk.com>
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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. :)


-- 
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

- Raw text -


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