X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B0C6385B834 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1585558006; bh=jbUIOExVkqMdhopMHTE5oNXQcayUd+1t5Yl72yoRFNg=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To:From; b=GyoyPA/o2Q0Qr9/rpVwWrh8Ceu4uy68vcGPQWaFPKwmL1Ky2LzXlIFsF534Cr++WW 0BF/kUHUkLaUHYQeiAfuLLXQGTsX/UVPLM1HNE0QdunPMoSGz7b72yzUysaqSlhoK3 F3Uww7PS6ssOhAkBWmeCq4RQnaTIj3R3Ptj/gayo= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A172A385B834 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com Date: Mon, 30 Mar 2020 10:46:41 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: WSL symbolic links Message-ID: <20200330084641.GP3261@calimero.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <294944bd-757e-4bb8-6bcc-ceb8d9190ef9 AT towo DOT net> <20200326110059 DOT GG3261 AT calimero DOT vinschen DOT de> <901e1c08-46cb-555b-c0d0-5bf9c726b3ca AT SystematicSw DOT ab DOT ca> <20200326200548 DOT GK3261 AT calimero DOT vinschen DOT de> <20200327185340 DOT GN3261 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K1:l7BNytaTTGKyrR8WDl0PdbtZS4BfT7BnrPW1qHeIYpFZjDlRUDj N5DJYjqnV4nj/N7TkyFLF0FIOtkMk90nS0LKP6t8KTnAeLfOB4ALr/3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 tests=BAYES_00, GIT_PATCH_2, GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary="===============0799948206898578207==" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" --===============0799948206898578207== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="D9sZ58tf58331Q5M" Content-Disposition: inline --D9sZ58tf58331Q5M Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 27 21:32, Brian Inglis wrote: > On 2020-03-27 12:53, Corinna Vinschen wrote: > > On Mar 27 11:58, Brian Inglis wrote: > >> On 2020-03-26 14:05, Corinna Vinschen wrote: > >>> On Mar 26 13:12, Brian Inglis wrote: > >>>> They should be WSL or Windows mklink (soft) links, and the reason wh= y mklink was > >>>> allowed unelevated in Windows 10 with Developer mode. > >>>> In an *elevated* shell: > >>>> $ ls -dln u > >>>> -rw-r----- 1 4294967295 4294967295 0 Nov 9 06:09 u > >>> ^^^^^^^^^^^^^^^^^^^^^ > >>> This is unknown user, unknown group, which means, the Windows > >>> function LookupAccountSid() probably returned a domain name which > >>> is unknown (neither account domain, nor primary, nor trusted domain). > >>> > >>> An strace of `ls -l u' may be helpful... > >> > >> Attached with startup environment, locale, and message setup cut (redu= ced by > >> 100KB), and rest sanitized as below. Could DM/PM original on request. > >=20 > > Thanks! This should already be fixed in the latest developer snapshot > > after I was finally able to install WSL myself. See my reply to Thomas > > in https://sourceware.org/pipermail/cygwin/2020-March/244211.html > >=20 > > All the effects are a result of not opening the reparse point as reparse > > point, as weird as it sounds at first :) >=20 > Would you consider that test program a reasonable base for something I ha= ve > wished for a while: a program that would classify a file name as a (regul= ar) > hard link, a Windows directory or file link, a junction, a Windows shortc= ut, a > Cygwin symlink, a Unix/WSL symlink, a URL link, and/or tell me where it l= inks to > etc. Thinking of hacking that plus maybe bits of file, cygpath, readshort= cut, > readlink, lsattr together to display otherwise awkward to access attribut= es and > properties. Do you actually talk about my test source I sent in this thread? It's just a very bare printer for the content of a reparse point and has the flexibility factor of a hammer for electronic repairs. If you like to use it as a base for something you outline above, feel free. The source can go into public domain, for all it's worth. Corinna --=20 Corinna Vinschen Cygwin Maintainer --D9sZ58tf58331Q5M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl6BsfEACgkQ9TYGna5E T6A5Bg//UmiXMMOaml6HGuuFm+8cndkClXEymfh+4BMGtNTXUAXNW4Ygn/RKRYL4 7AxpO6pKh/fab0aVBsXRfAYVF5wseLV5y9DxS0KODfyZcMGTe5Rc/8vfRXn/eJYI ryQjvwtQY7jRUayAlZScHYPYMfWCDE5i6Vopn10WZwtgm8CjI2rbaDht3EbAAIDq 9sc2bU9cs7UFNv2ZIfH3iKVo67Vi9ayKMySO2gQpK1dfmvk8vrVsO0JNV88JvzWD bX7dAkVLKx8AXYE21aVDY08TRtZXWMWiq/T+Txfjq3tzW66g7jXNSemIC/sJp8tL Z1Qu8dxENgGKIg+/rbg6j59XnO88vkhhPl+uYEbz7CdTWa+ONwDmkabuM68fIvhw Mw+41gBh6qU+9ASdOF2D9rK/vwhKeEwnzGHtsD42sFOhFN3xbVXUe+te43dwFJw/ oTjXjwwQ9H/ZAAVL+Iyi2ASb6LEYbiTjP9Za1QFYZuE6SWYAUSXo8suG87lnapGH uvGpABLywg+34qIx7ZU5MFGbLIlx7cLBd1oagFiST+0nmTLYhhI6a6D/qHwlXWEN W2eK+qdF+jmqstmycLCdiLmrzMhnNsPI0Rz0UIQUUo60Kl32eQvd2YT+JV1dK2XV LdfpIuiZdUuqlNZxQ4YNsgGDZO78LeZjA3wwfMqGd74MFQfOZ2A= =dTfo -----END PGP SIGNATURE----- --D9sZ58tf58331Q5M-- --===============0799948206898578207== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --===============0799948206898578207==--