delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/27/05:50:52

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 B4462384607A
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1598521801; bh=ChX8ECb+4m+RckKdg3p+dMUmLMdvuIntBX5dDrqPbrM=;
h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;
b=MoPsd7G8jpIDvwo2BX7Lqjpe2d+FlxV5akeMdaJ0L+lK8TizsoIr9Sz5v8o83F16c
ikbcomCEwNqknCzCV40N125fMhjJ0Qg3tdGf4Xj9jpVbizcvrDbHnYQ7HF9VuReXUp
g7pdhluyzg4ZIwp/IIdsKr1MjOILRET6VusTUPCM=
Authentication-Results: mxback8g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 27 Aug 2020 12:38:47 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1228634787.20200827123847@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: Forcing setup.exe not to create WSL symlinks
In-Reply-To: <20200827090010.GZ3272@calimero.vinschen.de>
References: <CAALQ5rnxo0_pJqTo5+617sZ6NPyDEuw5LkK_w5tMihYnTRfHrg AT mail DOT gmail DOT com>
<875z95tg5c DOT fsf AT Rainer DOT invalid>
<1f4a80f7-0e14-1641-3fce-317ac2a6dd00 AT dronecode DOT org DOT uk>
<CAALQ5rnsexseL=gNd5VKkZSi2=Feg4vFLFGG8OmFcmVhyKvWoQ AT mail DOT gmail DOT com>
<20200827090010 DOT GZ3272 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, Corinna Vinschen!

> On Aug 27 07:48, Michael Wild via Cygwin wrote:
>> On Wed, Aug 26, 2020 at 10:57 PM Jon Turney wrote:
>> 
>> >
>> > It turns out to be the case that setup doesn't propagate the CYGWIN
>> > environment variable into the environment for scripts it runs, so
>> > setting that isn't going to make any difference.  That should probably
>> > be considered a bug.
>> >
>> > However, even if that's fixed, there's no value for winsymlinks in
>> > CYGWIN env var to specify the behaviour of Cygwin 3.1.4 and previous
>> > (i.e. always create traditional symlinks, don't use WSL symlink reparse
>> > points)
>> >
>> 
>> Thanks Jon for the elaboration. Isn't winsymlinks=lnk supposed to do this
>> per the documentation? Could Corinna be convinced to include an option
>> where this can be done? To be honest, my hopes are greater to get this
>> worked-around in a useful timeframe from the Cygwin side than getting the
>> proper fix into Docker.

> Isn't it sufficient to fix setup so you can create lnk-style symlinks in
> your scenario?  The CYGWIN env variable and the number of options is
> such a mess.

The only relevant option is winsymlinks, as far as I can see, as setup is only
unpacking archives.
But my opinion is that setup should first try to create native symlinks, then
.LNK style links, as both are compatible with Windows.


-- 
With best regards,
Andrey Repin
Thursday, August 27, 2020 12:29:54

Sorry for my terrible english...

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019