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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=p7UMmNOtPiRyne/m Ry+TfoDelDWBD8ukSmrxuBLZgxXO1dscQoIWUMzXGWw1Elx+FyiLd+5eohD1shWT A1WCnZZx87xZOBYJQ1JLHtmaOQ4bjk/nCvKuPC7D8sB5nOGPBn7ji364MHM+Y+fI O8/4pJ32oU5xtxcNEpuj7em0Ez0= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=ErIVKBOYY/d7QRRaOuPUWq hMJxY=; b=Db4uY5CNKDeJSmjwfYrLOvxF8LcZEXTfIluxE6d4eLEIeogRlj+PA6 p/Hk64j5kaDQ4rYUqpa2YeP4qfxUHj66g/W6HktC+3dnzhfTNKiYGt9+lNNoYwkO M8rIZObB5eWOYRsk+ovPjSOhN+mkDY4p/IgUFIxX2gTsg8pbJqvXc= 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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=privilege, H*UA:Bat!, H*F:D*ru X-HELO: forward105j.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1577470801; bh=M9J8xbv/Mbct9foF77WdRQTH9EKozhO4+uc2yCSXBOs=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=tHUtmoOiairgLMpSymKRu7OqWN5ew0g9EUGqDtSDtSkLZd0Je9hL8Il+tscRi8cS/ 8ybUTGTPkec9c3jJ7KmNh/9JBowEakefoMBwpjFQG4G5ilzgwN1dA7w2L8m/TAlR4Z QRtV5A3vkszba/PYpsS1cfDveCvjKrVjvtzHVGj4= Authentication-Results: mxback25g.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Fri, 27 Dec 2019 21:11:55 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1501621188.20191227211155@yandex.ru> To: Jeff , cygwin AT cygwin DOT com Subject: Re: Any downside to using winsymlinks over cygwin-style symlinks? In-Reply-To: <24070.7571.896562.93733@consult.pretender> References: <24070 DOT 7571 DOT 896562 DOT 93733 AT consult DOT pretender> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Jeff! > Based on the documentation and practical use of the Windows-style > symlinks (winsymlinks) vs Cygwin-style symlinks, it seems to me that: > 1. Winsymlinks have the advantage of working as symlinks/shortcuts > under both Cygwin and Windows Explorer while Cygwin links are > recognized only in Cygwin True. > 2. They both are basically text files with some MAGIC numbers and > attributes that allow them to be interpreted as symlinks NOT true. Windows native symlinks are actual FS objects. > So, is there any *disadvantage* to always using Winsymlinks and indeed > converting my old Cygwin-style links to Windows-style? You can't create native symlinks as a member of Administrators group, even if your account have the needed privilege. > (Note: I can't use Windows Native symlinks because I don't have admin > privileges on all my machines) Exactly. > Finally, where is the best place to set CYGWIN=winsymlinks? > In .bash_profile? If you can't use them, there's no reason to set this option, if you expect interoperability between Windows and Cygwin. With just winsymlinks set, Cygwin will try to create native symlink, but failing that, it will create regular Cygwin symlink. With winsymlinks:nativestrict set, Cygwin will try to create native symlink and report failure instead of creating Cygwin symlink. P.S. I'm using winsymlinks:nativestrict personally, but I know implications and well prepared to deal with them. -- With best regards, Andrey Repin Friday, December 27, 2019 21:04:24 Sorry for my terrible english... -- 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