From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by sourceware.org (Postfix) with ESMTPS id 793DE385E009 for ; Thu, 26 Mar 2020 16:15:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 793DE385E009 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net Received: from [192.168.178.45] ([95.90.246.248]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M4ahC-1jGwvb0Yxq-001glq for ; Thu, 26 Mar 2020 17:15:09 +0100 Subject: Re: WSL symbolic links To: cygwin@cygwin.com References: <294944bd-757e-4bb8-6bcc-ceb8d9190ef9@towo.net> <20200326110059.GG3261@calimero.vinschen.de> From: Thomas Wolff X-Tagtoolbar-Keys: D20200326171509053 Message-ID: <0cb10712-ac96-0565-7a82-913a60e41aec@towo.net> Date: Thu, 26 Mar 2020 17:15:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200326110059.GG3261@calimero.vinschen.de> X-Provags-ID: V03:K1:K9Tdu3VbTpP+n3fElcmHgsF4UFmaRHuJKnRYnTUweQ1h5bRiRF0 2kt/smiwAN5uiYvjsdg7vxPDC3Q9FG3VmRbSIEhLoZrOXckEEJsTVwBAYRqm//ApT3dNvaC Z/WpLS/S3IPTy1EqRhLh6zkHn0qAyzefus++4DhDQ9/CcK2vrbOHHp+i3qqyfFKQ+L59Wqj I/+H1vOk4ZGq2EhKquNIw== X-UI-Out-Filterresults: notjunk:1;V03:K0:4o8HekP1ZU8=:z3qSo5+R574pbc9hFPIBmO fFbIKwdVrI4YJMGhuj69D9fHIhzpnkqaR4/BJQCIxu10u3kmCQlJ3PXG1RgzSqjr0hOP8CgWw syTlwnrFs14S5W+S8JzaU6JPAYaYlxn81p/4N6IeH3NB2FUqsfd1AhSLGum0+82nhuEe4aauc sDbwcDvxrcGCL7JMP/fNZi3rlATHflz4aqw3KmCGnVQL1GhDpnofswuRlMlLhM02u1hdXoj5Q SZqhxpWrQPDEs9ESFSip3zbcld+vgDBbAZ78ZxOyZXgOPLEe1uO3K8ZvYrwe6a1ZkzENj9zmZ KbSz6v0f5Izg4x1ZrcDYo0baY5xcrWshI3mgyOivzjwPyZYaR2GUdJkBYDCoJtA2qKoyJoV1H cOfLhp0TjslXY4Se7ptHPzPEOWYx+Xf8+tihLsQCGMuCFvBiNOQ6stHSMhHtcaIrGBCdRWotl ZZgFE74xJUVrV0Ma20/6u57nHH4e/c69Y449Y6g1wg4ns+Cxfe9AfYJ2f2lV2wlHTKQ8j+MqL g7QqqsAe7iazfeuNWVbW+LOWt6Boy1VGCFWnkCbNQ3Z2mj9IPY0FFuQkiVsSwZQLknEZ9QEoJ NSGxMb8n1APiq4VyZ12poKe01Ov/6YzLr/+0vlAV1MyU6SSfkbQSs9OzxlPlTxi4wshHPZDn9 +7xDCKBkuoQL2j5hJn3G3Q6p32nbIN1TdilgzNohcK8C7WJhrdWBuRQklZjCoAZiEFwb32e2/ Accu7Lc3LpCxEVJci+aUGYoTI+WNmjKlOadPUjFAoyCX1rO4Z+TKIFQt5vbEqe5yXksD4NiKG 20uEJE7SLcsAQ7+ICe86S666IkVGI7Mj76gMkKJ24dJZ0eF4eY= X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, BODY_8BITS, GARBLED_BODY, GIT_PATCH_2, HTML_MESSAGE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 26 Mar 2020 16:15:12 -0000 Am 26.03.2020 um 12:00 schrieb Corinna Vinschen: > On Mar 26 10:00, Thomas Wolff wrote: >> A symbolic link created with WSL is neither interpreted in cygwin nor can it >> be deleted: >>> touch file >>> wsl ln -s file link >>> wsl ls -l link >> lrwxrwxrwx    1 towo     towo             1 Mar 26 08:56 link -> file >>> ls -l link >> -rw-r----- 1 Unknown+User Unknown+Group 0 Mar 26 00:00 link > What kind of file are they in the real world? Reparse points? If so, > what content do they have? I attached a Q&D source from my vault > of old test apps to check on reparse point content. Please compile with > > gcc -g ../src/rd-reparse.c -o rd-reparse -lntdll > > It takes a single native NT path as parameter, kind of like this: > > ./rd-reparse '\??\C:\cygwin64\home\corinna\link' output is: ReparseTag:           0xa000001d ReparseDataLength:             8 Reserved:                      0 02 00 00 00 66 69 6c 65 > > > Thanks, > Corinna > > > -- > 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