X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B16423846070 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1713998215; bh=YZKg9i3Ggme1XnFmvZSPE8nykZlPi1wrAqwe46fQSoo=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=hRpIL751N69Of6df0CiFZdC9BZi12GuaGDiUU7dtcmP9Cekkc2zhie+Hx3CNLYTEB B7wnGVw3N3lxBtVAMDPn6cWmPVmc9UgDQ6Wvy4/z9HBY4AJgpNHksz+sN/bIxxjZyo 1ZDYpEwe9kO4WXvwBPNuHqoL5JAKUCbN568rr7Ug= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 037D1384640E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 037D1384640E ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713998196; cv=none; b=p1Ps7lkpuELpVSrZt/Eb6t3DPEX/Yv5E8Wty3W8ay7CJtLQIwFH24OOCpmpbZi4fFm6P05d7rmkm0wQGydriIdLY3naROLWlE+7SOg9FCNYunYpMaSd0SRBj30ZRt5az/Zu4nNxaS4QrOkNHyliWHdAASLXyH+Z/iPhRP6VjZ3E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713998196; c=relaxed/simple; bh=7vDTJZoDPJsS4/aAShlzWyfhGXo/D3BosbgkhScZnT4=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=KiTzPbRHTnuKzpVeblaxUvey1tZUGwuLG7V/1LFkipFBV+0d+lavYDpjvntllxfGAHbLX/dDKFwhmT7WoUHPQ5NNwJKI0Up1e0fZzvXA3Jgnw5d7se2gOt+XIMMlB3K3WO81/b+DX/vDRWAiRiUh/qyNFWlZ68LQ4tul4yXryDo= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Wed, 24 Apr 2024 22:36:34 +0000 To: cygwin AT cygwin DOT com Subject: Re: native symlinks and non-existent targets Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Christopher Layne via Cygwin Reply-To: clayne AT anodized DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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? https://learn.microsoft.com/en-us/windows/win32/fileio/symbolic-link-programming-considerations --- Programming Considerations (Local File Systems) Article 03/03/2021 5 contributors Keep the following programming considerations in mind when working with symbolic links: * Symbolic links can point to a non-existent target. * When creating a symbolic link, the operating system does not check to see if the target exists. * If an application tries to open a non-existent target, ERROR_FILE_NOT_FOUND is returned. * Symbolic links are reparse points. For more information, see Determining Whether a Directory Is a Mounted Folder. * There is a maximum of 63 reparse points (and therefore symbolic links) allowed in a particular path. (Windows Server 2003 and Windows XP: There is a limit of 31 reparse points on any given path.) --- If it isn't true then this seems trivial to fix. -cl -- 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