delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/23/11:51:49

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 924613870859
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1590249057;
bh=y4Tidvr7f7Pid4JLNPxhy9BO5TiZ39SGmxlcPqE2FsA=;
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=d00cdXw9y6/PSg5sH4TjPYjspx0F0cUcO9QzdjAWiEt9Kom+enXCo135ex6Ng97ir
gjZ+9FQSAL0wNKV+TXI4pejk5e5zufl8GcEQhflkAefrd9XK2IL/4vMVyrNQ/k3GxQ
djml7zlCnwqOqLGO7u3mV1z/y6YWmc3xoRfmhTpY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 391E1385DC1C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=GFJufv8zD3HQEzcOv+dG95RXxAHcmjDsYotp5C1lpY4=;
b=AKqacCAEAXqeHZ/n5pvG6joZUIo51np17ZybJHGSfgV/utrmOfLnZkhjoM6aouYUvZ
gn6tZFFJVMMtuhd+BX2JOuP8UJfL5B2vrl6uX9BW1xSzvyq4/86ZR0It+ZFpHFJf7IsK
KjWBYvW8stEVb2RllAorXKWdWzNOXp/TwLI+dzKZnqwmj6XfvItEWWiQRT/XX2BSzdGp
ZlR2FBeTqFVY2Q5DfIJGQ0E6Q92zzah4LEGwXN8ZYKwQAFZ5mvwXR6EohmzPuxd+8+1z
D6MnQICqcrnC5hXNaMhT8Tg/Jhd3aQSpXtFKXGuOkjgudB9dnID3EcFTwg3VYxh3hXgP
F+Tg==
X-Gm-Message-State: AOAM530XWNyZUSO80yWMUsfJSNDAvqBiqrSetk8QhQbc0dEx1IalPdDd
7vSJhIa4HihAs8Y/Q3/x2UQ=
X-Google-Smtp-Source: ABdhPJwmVfJwHRb4KIYAcUj9sq3ZzgeBqgReF9hcavlnM1ACNn2THWjz69AiG/v7IgYM/Udsrnkyog==
X-Received: by 2002:a17:906:16c2:: with SMTP id
t2mr12050641ejd.17.1590249054283;
Sat, 23 May 2020 08:50:54 -0700 (PDT)
Subject: Re: Cygwin doesn't support IO_REPARSE_TAG_APPEXECLINK
To: cygwin AT cygwin DOT com, saschanaz AT outlook DOT com
References: <MN2PR06MB6496C865ADC2075F7C7DEDC4A2B50 AT MN2PR06MB6496 DOT namprd06 DOT prod DOT outlook DOT com>
Message-ID: <af462a80-78c9-8638-a72e-480d1265570a@gmail.com>
Date: Sat, 23 May 2020 17:50:53 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <MN2PR06MB6496C865ADC2075F7C7DEDC4A2B50@MN2PR06MB6496.namprd06.prod.outlook.com>
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, 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: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 04NFpO63013293

On 23.05.2020 17:09, Kagami Rosylight via Cygwin wrote:
> Hi Cygwin community,
> 
> I found that Cygwin can’t run UWP based CLI tools, as they expose their executables as reparse points with the tag IO_REPARSE_TAG_APPEXECLINK which Cygwin does not support.
> 
> Way to reproduce this issue on Cygwin:
> 
> 1. Install Python from Microsoft Store: https://www.microsoft.com/en-us/p/python-38/9mssztt1n39l (assuming you don’t already have python3.8 on your PATH.)
> 2. Try running `python3.8` on Cygwin. It will say “/cygdrive/c/Users/Kagami/AppData/Local/Microsoft/WindowsApps/python3.8: Permission denied”
> 3. Check it’s real path by `get-childitem -path C:/Users/Kagami/AppData/Local/Microsoft/WindowsApps/python3.8.exe` on PowerShell. It’s `C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1008.0_x64__qbz5n2kfra8p0\python3.8.exe`.
> 4. Try running python again with that path. This succeeds.
> 
> I posted this issue on MSYS2 GitHub repo (https://github.com/msys2/MSYS2-packages/issues/1943) but I think Cygwin is the right place to file this.
> 
> Relevant prior works:
> 
> * Python https://github.com/python/cpython/commit/df2d4a6f3d5da2839c4fc11d31511c8e028daf2c
> * libuv https://github.com/libuv/libuv/commit/e7ebae26247d2fee0a04547eb7f9aa8f78d4a642
> * PowerShell https://github.com/PowerShell/PowerShell/pull/10331
> 
> Thanks,
> 
> -Kagami
> 

Not clear why you expect that a Windows specific tag as
IO_REPARSE_TAG_APPEXECLINK should be supported on a Posix platform ?

Moreover all the documentation from MS seems

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/c8e77b37-3909-4fe6-a4ea-2b9d423b1ee4

that seems a bit short to help third party in properly using it.

Regards
Marco


PS: Python 3.8 is available as Cygwin binary

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