X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 AT nexgo DOT de 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= From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Native symbolic link behavior is broken and makes backups using Cygwin command line tools impossible References: <1d853aa0-4cbe-b92c-8d9f-53fc72371a7b AT SystematicSw DOT ab DOT ca> <2f9a63f8-37e3-5ea0-1541-608cf59faffa AT cs DOT umass DOT 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 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 AT cygwin DOT 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 -- 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