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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Po ldKxRhl5tUEIcNwgH88W5o5TMVfKYfZVOvvZ3w31xUe9IBvKzkabqoR6+tI+hrVa INcl5/yKgyJ/NqFF7eBpIe0cDJK0yVDT/G+8YWTXDv3jj79TCtZC24fAz5vCXLKz gYcMKZ5oxJ//cT8LUuXaG05Yat4TXki/Uub20fb8s= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=qQpSpQLe UTYOYwYsQ2Kf5wpvX+k=; b=Kr7Ebjg9L8DnFDNH0xxLi9WPtsBpC+Bl8SYxsjDH +SUYGyIB0Kt0eFsyW7PuO6GGvCWKxoju7H/1oT4lLCuBj1rYKjtKuxjlncvROSuR xSQwZiCvsN6hwb87Ws/cN1aJaNzNlnys+q3+QXXIoApb8kvUMEzghTM6G19QS6E2 VKc= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=reaction, CMD X-HELO: mail-ig0-f177.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=XfFA+gGJrs9osEKHpaA9vp1pqbGZGDswbsbU24eOp+I=; b=PDDOR+CPlLZPMumugIFD7CpqddhvQ4qgS2tIswwDGGp6ck5l4wOTYQLFBtOy0+fxOh Zl6YMrVziQWmxR+TeVpTPObc+b4RC3uHgnP4/lt45MssKB4r+1T9BCvv4tj74GpS2Y5l 7cbcUkwxzBtYQ7iQ/LXrQj0jQr2zaEFV3SXuDzZcQ8Qm4eIQXn+OKYeGhs3B2Pg7zF4b Q5Yy+bFQe+22tumH5arjRg7M2l7iuRX1sWhKn5b78uoxdhLzg0Z35N/mb54o3nAIiqpY YhER7QhZNnzgxozzUkpkPn4nf7T8JBElTjygn7RKCPYJGBMJJ0O7T4eOqt5gasB4KCa4 2+8w== X-Gm-Message-State: AOPr4FWJNEXXKOAF3IeNDYoZbZrRpF8Xn6mwLexxz8BzgSLXPL10KbohSVesNdlLGD/X6urcuCKhY07H2L99Vg== MIME-Version: 1.0 X-Received: by 10.50.60.68 with SMTP id f4mr4019858igr.34.1461929659032; Fri, 29 Apr 2016 04:34:19 -0700 (PDT) In-Reply-To: <1606116423.20160429020650@yandex.ru> References: <1606116423 DOT 20160429020650 AT yandex DOT ru> Date: Fri, 29 Apr 2016 14:34:18 +0300 Message-ID: Subject: Re: `CYGWIN=winsymlinks:nativestrict`, `ln -s target link` fails if target doesn't exist From: Gene Pavlovsky To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes > > POSIX says a symlink to a missing target is perfectly well-defined (you > > can't stat() through it, but you can readlink() it). But Windows native > > symlinks can't do that. So the problems you are encountering all stem > > from the fact that you are trying to make Windows do something it can't. > > My initial reaction was that, too, but I tried mklink (CMD internal command) > > > mklink x y > > and it created the symlink in the empty directory just fine. This is my point exactly. Windows dangling symlinks can be created as easily as in UNIX. At least this is the case on my Win7 x64. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple