X-Recipient: archive-cygwin@delorie.com X-Original-To: cygwin@cygwin.com Delivered-To: cygwin@cygwin.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@yandex.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 X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1228634787.20200827123847@yandex.ru> To: Corinna Vinschen , cygwin@cygwin.com Subject: Re: Forcing setup.exe not to create WSL symlinks In-Reply-To: <20200827090010.GZ3272@calimero.vinschen.de> References: <875z95tg5c.fsf@Rainer.invalid> <1f4a80f7-0e14-1641-3fce-317ac2a6dd00@dronecode.org.uk> <20200827090010.GZ3272@calimero.vinschen.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@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: , Reply-To: cygwin@cygwin.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces@cygwin.com Sender: "Cygwin" 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