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 why > >>>> 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 (reduced > >> by > >> 100KB), and rest sanitized as below. Could DM/PM original on request. > > > > 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 > > > > All the effects are a result of not opening the reparse point as reparse > > point, as weird as it sounds at first :) > > Would you consider that test program a reasonable base for something I have > wished for a while: a program that would classify a file name as a (regular) > hard link, a Windows directory or file link, a junction, a Windows shortcut, a > Cygwin symlink, a Unix/WSL symlink, a URL link, and/or tell me where it links > to > etc. Thinking of hacking that plus maybe bits of file, cygpath, readshortcut, > readlink, lsattr together to display otherwise awkward to access attributes > 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 -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature
-- 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