X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AAC23851C1D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1590313870; bh=L+jajALjjYysW5eqUgwWMp6EOG2FJkU143FxzhYGLl4=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=FCpOb3L188tLKYZ26jL9AzIMMCt9H37jtbz4jxwksl94PK/7RACf4I3gNlTuzxECZ JuCjc3gCwjmMkLWf7sunYBO6EFhKr14xyANZO3aAMIYuyeqsbtLfd34YmTpLihxlLc ETSaYR76IZ6Q+wH+QyKSLWq3um5s4Qj2Ag8mzyRw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2BE783851C05 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BdWJIUIVtyg15ChTn6ZxVFIi0Rby7hG0az4KYmgKha5oY0pcruzKBWWxa9w0Ay5+YPHU/AMpy/Cy9/8XJoG5AsqKyMfQRYsNYhmNxqfFtmYwh/zNr5axO8EfTMwZriP1XqWSGZaDROvzgwZL/PUNK3qVbnMUvgDV1cuae7ryAubFLFaGQd4LFErNP7tOOvigYbHohqmv+sFEnw/kALChpbSTigCY+Glfm+kf4oa2p3zb7sg9dujeNbt/4buY7ULQPv7AnC4dypRtsL2+gX8f626XlKrELE/PaP5FU5vme7OmjNCzep2lTqDs2ZDWnV2FGvs8cnOU2hDfSIQvVUthlA== 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=U9KX3dzNZBQ8+A8A1dY2PsJHkVEiHKp41fRzU853n6I=; b=huI2dpbKxaUsWYLarUlsSJYlKmQoNrqnnbHoGfAzzaLFG0/nVvXPlI1L5RY2GUMvndIJt+umsa7CgvbFte1R6UpkejacN35QZejYrLHgZstlUoCdHsHle+c0dYqeCk7hJ3Y/Hf/zrq88GftMxt0uh9JUkeN8SRkGf43j8+CjQfCi7S8XO42qELOPpbfngdBkKBECXehaD8DaQ+BmY5QcOwuxTkzmR5rc76aPGgd6HKpqvEnsnHz54m1pq8Ht99eNpqdujp1bkvi6BK3Kjdkd/qV2M3/IAytX9ZhQnXfLpiBu1ZGMZgGW7U887Iwjk3NpJ9GhOCz7cDrw+ASYoZPYPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none To: "cygwin AT cygwin DOT com" Subject: RE: Cygwin doesn't support IO_REPARSE_TAG_APPEXECLINK Thread-Topic: Cygwin doesn't support IO_REPARSE_TAG_APPEXECLINK Thread-Index: AQHWMRFw+XYJvAX7P0CYH2Xr0mH70qi10b2AgAAAiDCAASh8AIAAAGkC Date: Sun, 24 May 2020 09:51:04 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:5735F3CD61CA123DD9593265599A635D3C6762C74F7A1AECFC7120811B881D33; UpperCasedChecksum:761D093943F14F75835D152A3D5EAA5B672ED1B6D2794F9FDCB17C2225C261DD; SizeAsReceived:7121; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [3aclAHvGOoWnRoBUAl5KpaSx251BeV7M] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: b2d640cc-4122-4b6f-2592-08d7ffc7f93e x-ms-traffictypediagnostic: MW2NAM10HT155: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Z9XTUx73GddfzabJYRS6ZQyGnbPRmvuKNLP6BGLOD4oq0xbhgv0ao11rlwe/FL6uLsNPBZXl7JVGCmn42oNvp2or2xbl6euT0BVbEeNXP2u9DDArv5kTGsfIT3qWWIPZ1ZmoCAqgoGWnpbfmbKnqv+bA3rXX4D4m7jv4SNnRkUQyePzrvYAovIuo2cQ6o/qbsKI6J+HyNLXNC1rYhe0OcMriUPlYLM/5q5xRzwtLr1dIOQ7Y6xWMFE5/m68QzscO x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR06MB6496.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: eBBZRtajD8fYP6yWKrZb/xn524vM2t04EN5fiJG8Dn7v3W7hhdh99cpBuJtSajeLYfnSic+LN2LfbFqws7tsb0m7nDHH3adpl04K53PIVpSCwhZ7xO3tD60jxQ4iv4oIXCSEtdYLj2bDXt0LHbBKnw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: b2d640cc-4122-4b6f-2592-08d7ffc7f93e X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2020 09:51:04.0243 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM10HT155 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_LOTSOFHASH, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Kagami Rosylight via Cygwin Reply-To: Kagami Rosylight Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 04O9pbs9009886 From: Marco Atzeri > `Reply always with mailing list in copy, please > and bottom posting as standard > > On 23.05.2020 18:34, Kagami Rosylight wrote: > > Hi Marco, > > > > >Not clear why you expect that a Windows specific tag as > > IO_REPARSE_TAG_APPEXECLINK should be supported on a Posix platform ? > > > > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcygwin.com%2Fgit%2F%3Fp%3Dnewlib-cygwin.git%3Ba%3Dblob%3Bf%3Dwinsup%2Fcygwin%2Fpath.cc%3Bh%3D36aa8278fd8495bdfe5ec82b8c36d7d3d7881ebb%3Bhb%3Drefs%2Fheads%2Fmaster%23l2473&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391494659&sdata=Llf8pBA7JBtDEThlvynB7Di1E71xjJnLVUJsEI1N6u8%3D&reserved=0 > > > > > > Because Cygwin already supports common reparse points (such as symlinks) > > and APPEXECLINK is also a common one used by Microsoft Store. This issue > > causes some CLI tools depending on MSYS2 (which again on Cygwin) to fail > > calling system Python executable. > > > > > that seems a bit short to help third party in properly using it. > > > > Good point, and that’s why I only could provide the prior works. > > REPARSE_DATA_BUFFER_APPEXECLINK in the PowerShell patch shows how the > > structure look like, but this definitely needs an official > > documentation. I don’t think it’s a strict blocker given that there are > > public working patches, though. > > > > -Kagami > > > > *From: *Marco Atzeri > > *Sent: *Saturday, 23 May 2020 5:50 PM > > *To: *cygwin AT cygwin DOT com , saschanaz AT outlook DOT com > > *Subject: *Re: Cygwin doesn't support IO_REPARSE_TAG_APPEXECLINK > > > > 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://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fpython-38%2F9mssztt1n39l&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391494659&sdata=tJ4DeDmHrHFYPrXIDzLiXZ6vQivQbZVV703SfOqMT%2BM%3D&reserved=0 > > (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://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmsys2%2FMSYS2-packages%2Fissues%2F1943&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391494659&sdata=9DVvWYnNcgR26LR7p%2FdX2n7uXI8rnL%2BE1nO7ct9ZBF0%3D&reserved=0) > > but I think Cygwin is the right place to file this. > > > > > > Relevant prior works: > > > > > > * Python > > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fcommit%2Fdf2d4a6f3d5da2839c4fc11d31511c8e028daf2c&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391494659&sdata=PHB5ChU1IX4gfc7NF3XMJqghyoVBic4CJ5fDP1W7LAM%3D&reserved=0 > > > * libuv > > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flibuv%2Flibuv%2Fcommit%2Fe7ebae26247d2fee0a04547eb7f9aa8f78d4a642&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391504645&sdata=rA4UuMyybOHo35N6qPF0OYVxFLk0usYuviUH0NjymlU%3D&reserved=0 > > > * PowerShell > > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10331&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391504645&sdata=cW19cfgbotWpc1loOfYJHoIIvFh2zdSSPhdbeRnIGnw%3D&reserved=0 > > > > > > 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://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fopenspecs%2Fwindows_protocols%2Fms-fscc%2Fc8e77b37-3909-4fe6-a4ea-2b9d423b1ee4&data=02%7C01%7C%7Ca9040b39384d422d0b5808d7ffc595f1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637259096391504645&sdata=EsAOzkEfbTP3RxYcFVsWuGax0s2dh2nf38%2FhfW%2Frre8%3D&reserved=0 > > > > that seems a bit short to help third party in properly using it. > > > > Regards > > Marco > > > > > > PS: Python 3.8 is available as Cygwin binary > > > > > have you tested > > "cygstart > /cygdrive/c/Users/Kagami/AppData/Local/Microsoft/WindowsApps/python3.8.exe > " ? > > > Regards > Marco > That works by opening a new window. MSYS2 doesn’t have it by default and I can’t add conditional cygstart calls everywhere just to workaround this issue, though. Sorry for not keeping the standard style 😬. Which email client do you use to do the "bottom posting"? I copied the whole body from Outlook to my IDE and added ">" to write this, is this what you are doing? It seems there should be more straightforward way as all mailing list users are using this style. -- 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