delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/01/08/15:29:08

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 AT cygwin DOT com
References: <CALXu0UfRxk5G=3OjbwoNFW7xSj1rHTNw5giS6YZb9p1gF5ceTA AT mail DOT gmail DOT com>
<ZPHDrz7VedOBROtT AT calimero DOT vinschen DOT de>
<CALXu0Ue9SyJod+0k24pQzs3KPg1RPquRfhN3tw3GYG-qMt_+DQ AT mail DOT gmail DOT com>
<ZZv_K1NyxE-btqQt AT calimero DOT vinschen DOT de>
<266017637 DOT 5531727 DOT 1704733902023 AT mail DOT yahoo DOT com>
<ZZw65R578QtNO_4E AT calimero DOT vinschen DOT de>
<487617694 DOT 5562874 DOT 1704739459687 AT mail DOT yahoo DOT com>
<2f4c9914-1285-42f0-b841-69335687713a AT secure-endpoints DOT com>
<1867877038 DOT 5579219 DOT 1704743854613 AT mail DOT yahoo DOT com>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
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

- Raw text -


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