X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=WOUx6cknlSClUHEALL5c6yypzeuODEgq+gtqOWvKJpSBagquKhOOi XEIN0qg5rMXgBLaTdmtf/qt50tOS7ZrG9xIy+ZX1K0r97FtGXDPKQWo3jTRgKOBi npem5tEgdHQuUwE/9cEWy8pAeI6iEOqOpaMjadKWm812tGVrdQfNnQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Mjbso+hJTIP4HqlKw/1oGbitqO0=; b=hl/Ka/UKEVol6T1MoQzM2R0LuVR1 FNc5z6OHbcMkbQB7pQPr4PTFEdrg5Fvm14RZQaybaoNCrIfAem7KPUuRsstrz/pw t69QIs35Dy06Y9jxaBB3OcAYpGSegmoKdH6xeCUAxxSZIF4eqAmdCxC3r6rudTJr jByqoJnxNC6oGO4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=matt, Matt, mkdir, winsymlinks X-HELO: mout.kundenserver.de Date: Mon, 1 Apr 2019 11:27:41 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Can't create symbolic links in child directories Message-ID: <20190401092741.GJ3337@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0b6a3052-7a9b-2bee-4f8d-196a025de953 AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/9ZOS6odDaRI+0hI" Content-Disposition: inline In-Reply-To: <0b6a3052-7a9b-2bee-4f8d-196a025de953@gmail.com> User-Agent: Mutt/1.11.3 (2019-02-01) --/9ZOS6odDaRI+0hI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 31 19:24, Matt D. wrote: > This works: >=20 > > touch a > > ln -s a b >=20 > This no longer works: >=20 > > touch a > > mkdir b > > ln -s a b/c >=20 > Error: >=20 > ln: failed to create symbolic link 'b/c': No such file or directory >=20 > My CYGWIN environment is also configured using "winsymlinks:nativestrict". I'm pretty sure this never worked. Consider what "nativestrict" means. The target has to exist to allow the native symlink being created type-correct. In your example the target doesn't exist: ln -s a b/c means, c points to a. So a is expected in the same directory as c. So looking from the point of the current directory the symlink b/c is supposed to point to the file b/a. Which doesn't exist. Which lets symlinking with nativestrict fail. "winsymlinks:native" will work, albeit creating a Cygwin symlink then. Corinna --=20 Corinna Vinschen Cygwin Maintainer --/9ZOS6odDaRI+0hI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyh2Y0ACgkQ9TYGna5E T6BpvA//Wm8lxWQ2/meIGxetxErvzq2ZAvu4HclyFtqp+EYguqIMl4yrhprMWgEK iHzSEjOO6DL3MwfM5TvdwkwNl2yU7Ppbox8W+7Ue56BSjxmLhf4R4v0s4YILOC7q 98A65kTkC58j8CGLYdvUzqoQ66cvsoHfptTbwFPIPb4TofDyesXXGjpubQjK2T33 H9j6tMtLAZ3h0Onl0l1W/bYt0c9f914uRI488EQv3hMQ0SB4nETQH05R3tb8lowb BPQ/7BJxeTY1Y9Thjb368SgZ+Al4BNh9vmBotSkUbOYMhVxRTxGF3Xj0UwworpYQ ZJWq7PVakNjlxa5tWOch9pDExcoJ2LgRkPq+V2KOPwsKNumCX52Enuy5ifQOS9t6 TYZz4I07urJXwuMQhViNG9jNsMQe7wrT3YgbQxhBiX4zu2GFRvx4u5vUtFBI1B8v o8vkvlIue8DYL/dAUffK626Yhx3uvQkmDsU631zOmgi2Hv5n34inSD5wRXSngY7y tFJYp9M56RlGbVQ0YZMua3xXb2WotDr92OW3kWfhsjnFbqtDZ5zTKsDeCsOYOT8M FlpC5MJEtHwxnugn9i59Qjr/pS+vWuKVfaVVbNhIN6aU4LDyjkbUhYskRXKi2bGk wN15TNSLqWr0LMUGydpJfEIgFwbItX2xocOAy4U+HARlXgJE/qk= =9tN8 -----END PGP SIGNATURE----- --/9ZOS6odDaRI+0hI--