public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kagami Rosylight <saschanaz@outlook.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Cygwin doesn't support IO_REPARSE_TAG_APPEXECLINK
Date: Sat, 23 May 2020 15:09:22 +0000	[thread overview]
Message-ID: <MN2PR06MB6496C865ADC2075F7C7DEDC4A2B50@MN2PR06MB6496.namprd06.prod.outlook.com> (raw)

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


             reply	other threads:[~2020-05-23 15:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23 15:09 Kagami Rosylight [this message]
2020-05-23 15:50 ` Marco Atzeri
2020-05-23 23:05   ` Brian Inglis
     [not found]   ` <MN2PR06MB64968DD32E6DB1C107B13DDEA2B50@MN2PR06MB6496.namprd06.prod.outlook.com>
2020-05-24  9:33     ` Marco Atzeri
2020-05-24  9:51       ` Kagami Rosylight
2020-05-24 10:38         ` Marco Atzeri
2020-05-24 14:20         ` Adam Dinwoodie
2020-05-24 14:59           ` ASSI
2020-05-24 17:52             ` Brian Inglis
2020-06-09 19:18 Martin Rauscher
2020-06-30 10:36 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN2PR06MB6496C865ADC2075F7C7DEDC4A2B50@MN2PR06MB6496.namprd06.prod.outlook.com \
    --to=saschanaz@outlook.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).