From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111192 invoked by alias); 1 Mar 2020 02:05:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 111055 invoked by uid 89); 1 Mar 2020 02:05:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,KAM_THEBAT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*UA:Bat!, H*r:smtp, H*r:build, UD:ru X-HELO: forward101o.mail.yandex.net Received: from forward101o.mail.yandex.net (HELO forward101o.mail.yandex.net) (37.140.190.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 01 Mar 2020 02:05:04 +0000 Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 265613C00D11; Sun, 1 Mar 2020 05:05:01 +0300 (MSK) Received: from myt4-ee976ce519ac.qloud-c.yandex.net (myt4-ee976ce519ac.qloud-c.yandex.net [2a02:6b8:c00:1da4:0:640:ee97:6ce5]) by mxback18j.mail.yandex.net (mxback/Yandex) with ESMTP id d5LNULwgdl-504CJA5B; Sun, 01 Mar 2020 05:05:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1583028301; bh=qX9ER7eCTObF8N9RrGpW3eSSNHHQbmTkWHpP7Vli2hM=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=AdKWizF/FE1hLPXA59A40e/sFIrVzSInNi+JiM5qKDX8hlHRXgQ5xpfxih0NE9qOO cIdcLdOPXv48UVvQFEwwR2R7mHrU5utsVfknigMdZIuQQ5zgPgHcgBq/8hS2S1uQn5 1VqIEi7UEguWb8T/i/wLB8/vBG8ZHKBN0HOqvc1w= Authentication-Results: mxback18j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt4-ee976ce519ac.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id HXN1d1Y68p-50rOO9vu; Sun, 01 Mar 2020 05:05:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 01 Mar 2020 01:52:39 -0000 Date: Sun, 01 Mar 2020 02:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <781797215.20200301045239@yandex.ru> To: Rainer Emrich , cygwin@cygwin.com Subject: Re: Change in logical link behaviour In-Reply-To: <30792264-c452-7ea2-c83f-f368322387ea@emrich-ebersheim.de> References: <30792264-c452-7ea2-c83f-f368322387ea@emrich-ebersheim.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00000.txt Greetings, Rainer Emrich! > I try to reliably determine if native Windows symlink are working for a > current cygwin environment in a shell script. > Therefor I used a powershell snipped: > mkdir asdfgh > ln -s asdfgh/ asdfgh-1 > powershell "& {Get-Item -Path asdfgh-1 | Select-Object}" > On cygwin 3.0.7 the output is as follows: > Directory: D:\cygwin\home\rainer\temp > Mode LastWriteTime Length Name > ---- ------------- ------ ---- > d----l 29.02.2020 13:58 asdfgh-1 > On cygwin 3.1.4 I get: > Directory: D:\cygwin\home\rainer\temp > Mode LastWriteTime Length Name > ---- ------------- ------ ---- > d---- 29.02.2020 13:58 asdfgh-1 > So now there is no indication that this is a link. Is this new behaviour > intended or a bug? > I did not try on Windows 10, I'm still on windows 7. I get the same behavior is not using Cygwin to create the link at all, this is probably a change in how Cygwin interprets symlinks. -- With best regards, Andrey Repin Sunday, March 1, 2020 4:51:46 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