This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 10/11/2014 03:37 PM, Linda Walsh wrote: > Eric Blake wrote: >> On 10/08/2014 01:55 PM, Linda Walsh wrote: >>> I get this message the 1st time logging in via 'rlogin': >>> >>> MS-DOS style path detected: >>> /Windows/System32/cygwin/usr/spool/mail/Bliss/law >>> Preferred POSIX equivalent is: >>> /Windows/System32/cygwin/usr/spool/mail/Bliss/law >> >> Could any prefix of that path be a symlink with questionable contents? > > Cygwin can't use any of the normal methods to find my home > and because USERNAME isn't set it tries 'USER'. > > So for a mail-spool dir it looks for > /usr/spool/mail/<USER=Bliss\law> Is it cygwin1.dll or rlogin that is trying to convert $USER into a determination of a mail spool directory? If it is cygwin, we should probably patch cygwin to ignore or modify any $USER containing backslash, rather than trying to treat it as a subdirectory. That is, tilde expansion will treat '~Bliss/law' as the username 'Bliss' with a subdirectory 'law', rather than as the single username 'Bliss\law'. I suspect the bug is in rlogin rather than cygwin, though, if you are only getting the message when trying to log in with rlogin, and since the message is about a mail spool and not about a $HOME. Meanwhile, I still wonder why the error message is printing 'Bliss/law' as the problematic string, when it appears that the reason the warning appeared is because rlogin was using $USER literally as 'Bliss\law'. We may still need to find and squash a cygwin bug that displays the message incorrectly. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |