From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id 905A83850403 for ; Mon, 4 Jan 2021 17:58:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 905A83850403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.32]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 424BF123CD7 for ; Mon, 4 Jan 2021 18:58:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1609783114; bh=pBBtrLaDsF7IlynOfeVHk0clDDMJ2oU51k0EIqhZ9g4=; h=From:To:Subject:References:Date:In-Reply-To; b=BPHtDOKwPoW0ifucCHEb0S/qrmp0lIqNX4gl1mGEXtTlXyrwbbmNDXYXL8qBD+kDV 0hdhB7ir0Yxp8cBzujyRlWfwOfi0sp0k+WJik69vOXQADT2DSbZrRs0V5J+xcgvhIS BZyk5l1fGM3dLIhEO8c/DfAUjPkMYzzt4BNxyMHI= Received: from Gertrud (p54a0ca05.dip0.t-ipconnect.de [84.160.202.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id D18B361035 for ; Mon, 4 Jan 2021 17:58:33 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Native symbolic link behavior is broken and makes backups using Cygwin command line tools impossible References: <1d853aa0-4cbe-b92c-8d9f-53fc72371a7b@SystematicSw.ab.ca> <2f9a63f8-37e3-5ea0-1541-608cf59faffa@cs.umass.edu> Date: Mon, 04 Jan 2021 18:58:26 +0100 In-Reply-To: (Matt D. via Cygwin's message of "Mon, 4 Jan 2021 10:27:09 -0500") Message-ID: <87pn2k8tz1.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 679 X-purgate-ID: 155817::1609783113-0000068B-85F0D295/0/0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 17:58:38 -0000 Matt D. via Cygwin writes: > The normal behavior for both Windows and Linux is to create the > symbolic link whether the target exists or not. That's not the case on Windows or rather it has restrictions that can trip you up. On Windows you must specify if the symbolic link points to a directory or a file in order to create a symbolic link to a non-existing file. If that information is not available, it is obviously safer to not create the symbolic link. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada