From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 391E1385DC1C for ; Sat, 23 May 2020 15:50:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 391E1385DC1C Received: by mail-ej1-x633.google.com with SMTP id z5so16359580ejb.3 for ; Sat, 23 May 2020 08:50:55 -0700 (PDT) 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) Received: from ?IPv6:2003:cc:9f27:aeee:646c:14b0:ec2:8594? (p200300cc9f27aeee646c14b00ec28594.dip0.t-ipconnect.de. [2003:cc:9f27:aeee:646c:14b0:ec2:8594]) by smtp.gmail.com with ESMTPSA id s18sm10534118edi.45.2020.05.23.08.50.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 May 2020 08:50:53 -0700 (PDT) Subject: Re: Cygwin doesn't support IO_REPARSE_TAG_APPEXECLINK To: cygwin@cygwin.com, saschanaz@outlook.com References: From: Marco Atzeri Message-ID: 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: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 15:50:56 -0000 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