X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3747F385842B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1704745747;
	bh=5Ir4LK94wjWazBm2ePxYVox6dV2r6G0Uk9wR7FLz+2Y=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=Oy8N1EZDF7zqElBRR+3CJWJcYrERE8h4RKnLyhWF9nPEKkHedEJm6rkE7hy5//OAi
	 QBj+Uf5ckgru01ZbOMOn3ebVw8rzPryVRNZxiUCWhXJfKwXwdNxlXWSHlouGmJz2rN
	 l45hl0ksbNJLBXrPs7mZBfK4wVETeVehxHcORSIE=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BC7A23858C66
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BC7A23858C66
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704745685; cv=none;
 b=lGctAIU3w4oBb+zj6cUXYv036lmlAK25LMA/fwUGPgKOwjgcxnmY0RwHVR9h9aLTvRON09JRNKFi0rPKAf3+iuB51JdaaQ3aOvqHqoNznzsmqiPTYpA2JQoRqmubFNAbz7RD+xLoVDKTHM3TYRNxX4uh1iyX50xdsu8VHQGPU6Y=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1704745685; c=relaxed/simple;
 bh=OEZVFPs0ze90moWAuqV7jJFCLHJpgaboFSlHaIiaARg=;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=TMtd92xRU2Nm54+IS1naCwSQk9JqEofYndKpkv1kGhSAJ1XDnq2tc3LzvadlMK3ymje9q7G+NT29/1yZ1D8lI1AmrDbBW9RvjraDpL5SDUz8zngf4bH9sZ8gAnTvOLdoiYSKkWGWGfYM2/mBrSyrpD7PpiKHxdOQ6VSi49TsEMs=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <d6fe330c-744a-4346-87fe-19b080563ed1@SystematicSW.ab.ca>
Date: Mon, 8 Jan 2024 13:27:59 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Cygwin generates syscalls for *.lnk files on filesystems with
 native symlink support?
To: cygwin@cygwin.com
References: <CALXu0UfRxk5G=3OjbwoNFW7xSj1rHTNw5giS6YZb9p1gF5ceTA@mail.gmail.com>
 <ZPHDrz7VedOBROtT@calimero.vinschen.de>
 <CALXu0Ue9SyJod+0k24pQzs3KPg1RPquRfhN3tw3GYG-qMt_+DQ@mail.gmail.com>
 <ZZv_K1NyxE-btqQt@calimero.vinschen.de>
 <266017637.5531727.1704733902023@mail.yahoo.com>
 <ZZw65R578QtNO_4E@calimero.vinschen.de>
 <487617694.5562874.1704739459687@mail.yahoo.com>
 <2f4c9914-1285-42f0-b841-69335687713a@secure-endpoints.com>
 <1867877038.5579219.1704743854613@mail.yahoo.com>
Content-Language: en-CA
Organization: Systematic Software
In-Reply-To: <1867877038.5579219.1704743854613@mail.yahoo.com>
X-Rspamd-Queue-Id: 728C960009
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,
 SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
 UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6
X-Stat-Signature: hai4arip5fnune9uhrcbsnk6xykso9qi
X-Rspamd-Server: rspamout01
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1/Np/J+AS5rKUgJ6FpIhf52C7nmR0cbD/s=
X-HE-Tag: 1704745679-113064
X-HE-Meta: U2FsdGVkX185ExGT3V+SQwDd6S8Leu2b4ifvREHZUz3F/930wTYGZWSZ8AVTGuHjhtNONKhRpytIaSm3VJPWrAqHa5kg6E/7VQ9HE232XG9X0hcOQZd2gF83WYnkCYf1619pDwUPh6I4csElehbEv4O8UEybjHGUJpzMIe2J1xmtIW8vwZOcZcYL6hphQu7L9yIjYtbofGrwHSx0EM732MKLKCRxforfebVompYvbSGcv7DEfaIA7/SoBXRM8brOEiTcfzUB9uOV5KKU06BA4lAij6hv48E/9jXUJReTcaZ3j0WTB2R5WtXxzwt26raK
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 408KT8kH020392

On 2024-01-08 12:57, matthew patton via Cygwin wrote:
>> This breaks many applications such as the java runtime among others.
> In any event "unreadable files" is a problem all over the place if I use Cygwin's /usr/bin/ln to create links. That's why I was forced to write a wrapper. Even if 'JUNCTION' is false/misleading as to the root cause, plenty of 'DOS' programs, like the AWS CLI and Golang have major problems with the default behavior.
> For a "compatibility" environment to spawn a slew of unusable filesystem artifacts is a MAJOR bug, IMO.

That is why you have env var settings to make things more compatible.
Read the docs and make the best choice for your situation.
Cygwin is compatible with MS Windows but expecting MS Windows to be compatible 
with anything else is expecting too much.
Just avoid using non-POSIX interfaces and you will be much better off.
You can then be confident that anything you do or have can easily be moved to 
another POSIX compatible system and used with only minor differences, unless you 
go crazy and use another proprietary system!

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

