delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/17/17:21:13

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA25E39450E5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1600377624;
bh=mku8f8/jz/N6IkAdMQl1yTAOfmbI+WdXKy+meQ+eZwY=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=nWgtjiQjEre2oQinpSOV/92ScmxDQDNpn2RIITaMqtQTrECDJ2NYg1NUQ9wzy/wgt
RBY3Ug7sHo9YWkgwLOry2DuX6yN8IVcFBp0NxOJrP5cBsj2GEr7oPq76YBrohS9nNC
bHJ46GcyfwtNjZ496bh2N31iocOFHNCABR+FF4hs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 82215384A40A
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=iikh+KpC92X4As4Vhjz/kGjGZZN/H4QPRgOTP61JCf35KXq92YKg6xM73bIOVqr7u36JJ4/U5Eu0pDh0ocsWcKUmrbrsGIIPObDiY5nl+xRhNgKEhlGPrLbR/j9zdioK4qY34tGzzT6/PS7zpZDYB0s/hj/c5qdHp+Oen+w4Z53Fm1c6Xr5Wd9eqGn4IusxFLn5T35bBmt6XuIjVE0I+J1RdRr6l1YLBzU7ZqUOfmsFR1h8yPXU1cWuhgaHGKFsMvJWOFb0LM31wqnEcs7ommm74jGEnTE8fs7NxLXClBHdiDnZhRFZXWGPrzXEeP4+Q4Bg5j33HOKWsnA05V9kt1Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=NmtXxdGPQdjGb6h31Jo6bx9vCefo2wwlMHTiLgieU7Q=;
b=fAuVTGaEi1JNl0FVUmQZKryrA+ybE8vFnQppXjdIePzUIdO6Ee8z0MzdleIVWLQWenrjJ/l/bphM/DkNKYIm3JPNMBCSzxaA3vjp/nP5Y9xiscBQ7Trjd/1WyIVI88RsZIXT1VfPgtr/4t6txLU9Py7seWa52VXtxCwJ+kz0hNtsasL+sDNXpDTAM6WrphNSSYZylP2YtRb/HiJSc9WT3TUydo2XXSwaQDlsXPeCyZh58fMfZWAYNiyWiSQ/kUelCR04D9AvFdxkSJaIsDNg6THUfAHwFjgZ+MlShKszyxBRaTWfWD9D7FLjztAgOEiYuAL6YlNzKcOY7JJo1ofsYA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: Windows 7, cygwin > 3.1.4 symlink issue
To: Roland Roberts <roland AT astrofoto DOT org>, cygwin AT cygwin DOT com
References: <614223b1-8418-b6f4-3911-55d557cb4728 AT astrofoto DOT org>
<119a2d84-6862-bf96-902a-8a2a07a04dd7 AT astrofoto DOT org>
Message-ID: <f1ae7d55-21f3-8d27-03af-9432430f0db2@cornell.edu>
Date: Thu, 17 Sep 2020 17:20:16 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
In-Reply-To: <119a2d84-6862-bf96-902a-8a2a07a04dd7@astrofoto.org>
X-ClientProxiedBy: CH2PR14CA0033.namprd14.prod.outlook.com
(2603:10b6:610:56::13) To MN2PR04MB6176.namprd04.prod.outlook.com
(2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-Originating-IP: [68.175.129.7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 557a98f1-d45d-46ba-47c7-08d85b4f7a64
X-MS-TrafficTypeDiagnostic: MN2PR04MB5567:
X-Microsoft-Antispam-PRVS: <MN2PR04MB5567A09EC3344A733AAB8431D83E0 AT MN2PR04MB5567 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 5XaDgFHFL/lsIdfz0A/mWrqHajrGpbpY+hH05osbm4V5EK7ePowzhOv6WQ1LOUaZ3xovV6kB9aMejInVTlCNkQOKLAEn2CbPqXC7DTzUvtv9tWNrT6OFnFwl9C0c1jZyef7OopegRRwsEHAk540DyyHNhVFtXtHwQHhaq/2uRPvcnF3tQUjVyZfJPGkmgAkI9diiuflWxmJG35sar1BcqADBc0eyIFg3QQIrKsI2GRVIcdg+/Sf4yaqJpccSM78McU+8NaV5DKSh2BYbO+fPmrPwgv6AyacutqX/qOg1SARAD5kQdDUKfzDfPTfC+Vb9qltFUbeUBAL7wz8swpUuCoB37NgdFQyT0Sar6dRaJGhzE1mn0r2zROnHU2pokXXB
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(396003)(366004)(346002)(376002)(136003)(39860400002)(8936002)(786003)(316002)(16576012)(83380400001)(31696002)(86362001)(8676002)(52116002)(16526019)(186003)(2906002)(36756003)(75432002)(5660300002)(956004)(66946007)(26005)(66476007)(6486002)(53546011)(31686004)(66556008)(478600001)(2616005)(43740500002);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: mZ1dP5Mm52E9trEMo+sLB0ZcQ5xdf/1lmh1I4/u/Fc3sdG9R8UkQMCQ0dnNp3ZXFeu4CJmA8b9x+i8xNGyk7/fzicTQICLMoSkl3xmNOZIbAbhe8B3u0t8YMNxXbtRjgcUGSw+eCl423KIQajM0h1tdGB1pLsEjktA2GOEg3490mYV3zh1U6bNBT1rR3jhJmuoypNZpr5Jb0/lOMv6GuKfwkThJ31Ywkped2Gzwwj4/jOzmKoqrxED4BWJFu9biDv7wIa0EJJRLpBfoJde7AxYbot36pg6PJ7T99A7OAp3z7K/0/tzEaYKvqroJgiiAo4pewGYE9p4w+r5CTSArikfe8m1XYHYY+/f7yCnv+dQpqGbFDeIjdyBwDc8ADaf1A4ySHu2H29lUDNnol7kKGGTa6cCkqZj75o9n2RpXEG9sh2eHjfM5MT4ikal4sD/5BqL/XoIeTvZRn0jPyA+KsrqbiIIjMGfKCYgHzoFd3jq96fUOXoI0y7As5IUf8qRAsHPjgFmytVZ+UrXL0kEonqDKy9L82jWI3u4GWSTSKsWAWqdSGduIeLPZ4KR8eqgRUeQnJ+Co5ri4dozy4QXGL8Kj8VIupKSDOijb1fsuFV4XdTv2uDgBY3KkO+L8w4kl/OvRdZHqW83fydXLQeNVlag==
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 557a98f1-d45d-46ba-47c7-08d85b4f7a64
X-MS-Exchange-CrossTenant-AuthSource: MN2PR04MB6176.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2020 21:20:19.0119 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: JhtaDTF6N7Qjyii6wtghBsjq0VIc4E498VZpgaB+OvQQzcy9AlPAsgQ37WnLV9+rgUUSmrJmEEtvbkbURCZyOQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB5567
X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 9/17/2020 4:27 PM, Roland Roberts wrote:
> On 8/24/2020 5:43 PM, Roland Roberts wrote:
>> I have one machine, a company machine which makes it hard to post details, 
>> which is running Windows 7. We run cygwin as our development environment for 
>> Java, but Java is installed as a Windows program. The scripts that do the 
>> builds are bash scripts that pull down updated code from svn, then run unit 
>> tests. All of the cygwin bits work fine, but when Java is launched to run the 
>> unit tests, it runs into problems with reading files that were created as 
>> symlinks in cygwin. Note that this does *not* happen with cygwin 3.1.4, but 
>> does with higher versions (up through 3.1.7).
>>
>> Possibly related, the permissions on installed files is odd if I roll back 
>> from > 3.1.4 to 3.1.4. The files that were updated with the later version 
>> can't be deleted. The permissions on, for example, an Emacs upgraded under 
>> 3.1.6 or 3.1.7 show "Unknown User" when I downgrade just cygwin and I can't 
>> run it. I have to upgrade cygwin, uninstall Emacs, downgrade cygwin then 
>> reinstall.
>>
>> Other users in the company have had their machines upgraded/replaced with 
>> Windows 10 and don't seem to have this issue. Eventually, mine will be 
>> replaced as well, but in the meantime, later versions of cygwin can't be used.
> 
> Okay, I have no idea what form of dyslexia struck me when I wrote all those 
> version numbers, but I've edited the above since it wasn't 1.x but 3.1.x

Starting with Cygwin 3.1.5, Cygwin changed its default method of creating
symlinks.  They are now special reparse points known as "WSL symlinks" on 
systems that support reparse points.

If you create such a symlink in Cygwin > 3.1.4 and then roll back to an earlier 
version, Cygwin won't recognize the file type.  (But Windows 10 with WSL will 
recognize it.)

If you're using tools that don't work with the new style of symlink, you can use 
the CYGWIN environment variable to change the way Cygwin creates symlinks.

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