delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/13/12:26:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=O/xSTQ
cJGTltC3O1S5XGAz/WqXJ+WvK1y8CVH0jjHdZy9zlRku8nRbEj/SBL0VBJCFbaLZ
FQ14hso45CSLVmwMxcxUiZxOBoWVURrhOBbtJgupey3JUU7a8kQHH+fErUasOoWw
Sl0eA8cXjupww+TQ7pN/fbwaa6/jKgRzzM5iQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=zyZREy8qjeby
Sk81xM8uacdqrHY=; b=GjYDD0IgSC4QL7yMXuUgTD8kmCZbHILZ+B90cJhTWzbQ
8nGEbIJt2bvY6Vrg73Kj77k2ItOMWx8uYZ6xo96eu9XoPjXI3IWIWhDkI+NEHeCr
cVfUmJlNCYIL6UCu+BH302JU/uCSkn38szEncmhnTASv7sRaWF16rxG6NEVy9KE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <543BFD26.80503@redhat.com>
Date: Mon, 13 Oct 2014 10:26:14 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: what path to use that is not DOS??
References: <543596B3 DOT 1020705 AT tlinx DOT org> <54359A6C DOT 4030204 AT redhat DOT com> <5439A31A DOT 30909 AT tlinx DOT org>
In-Reply-To: <5439A31A.30909@tlinx.org>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes

--mihok4oiRcoS2i0N16GBSdAQECK3C16CP
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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?
>=20
> Cygwin can't use any of the normal methods to find my home
> and because USERNAME isn't set it tries 'USER'.
>=20
> So for a mail-spool dir it looks for
> /usr/spool/mail/<USER=3DBliss\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.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--mihok4oiRcoS2i0N16GBSdAQECK3C16CP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg

iQEcBAEBCAAGBQJUO/0mAAoJEKeha0olJ0NqVdgH/j/i38288ESx0moidw+00g5F
4mjOvXx1hLyISE2jIrBy/psrkfUH75w4IdciTKf8OO++8c2S/MxBBV+8Ak9oHPyq
0GsdLL6a3v8xZD5tyafBE/BOwK1/9235k/a1R6SwQ9S5ITVwdbJjZQs1u0hQeuhd
xQaNHXFXvE084xKspCV4/gAFReURgKEfDf/gH5UkjO1zlGc+II6ifCP8j7GD8LtC
9XCk5XjTFRkdc7GGfzsdHPB1ktNrLnxoNbcq4pvnQspI1j8AQxJMK/SnvXfHJfkh
Aez/NrwlH1yi+b4YAEO5pTEejfK5WA7JWOJ9He1r6eqr9rzVVp7Xy6Yz258009Q=
=SfKK
-----END PGP SIGNATURE-----

--mihok4oiRcoS2i0N16GBSdAQECK3C16CP--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019