X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F2B303858D29
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=nexgo.de
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=Stromeko@nexgo.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de;
 s=vfde-smtpout-mb-15sep; t=1616444028;
 bh=9V3D7ofOJlBOCvAvciI1vuPJUYyIcr27LU7LmD+ZrCc=;
 h=From:To:Subject:References:Date:In-Reply-To;
 b=GcB0/lu6OqOhRsuSH9NyFg5Xk+YPLDx6wXqVwMzokOmwLuIRmpePZxr9MP/MyTAOG
 N9ePsNmYbY8RerMfZrjSCkBDx6JCYnHq+EbxehVtxbEugagz+Yqi21e20+jR14pm4T
 LPi2hxUaOPljTjb6gOCz/RHDxeQcWt107DxJNdD8=
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: cygwin-3.1.0 and mintty from desktop shortcut
References: <announce.20191216201131.494767-1-corinna-cygwin@cygwin.com>
 <87pngmx26z.fsf@Rainer.invalid>
 <20191218090415.GG10310@calimero.vinschen.de>
 <87a77pbn5j.fsf@Rainer.invalid> <87blp2lr6p.fsf@Rainer.invalid>
 <20200311195142.GH4042@calimero.vinschen.de>
 <c3c4e96a-63bc-5b7d-5fb5-2ad21ec36cdf@emrich-ebersheim.de>
 <87d09htlac.fsf@Rainer.invalid>
 <20200313100325.fe62798353f4c719ecf565e0@nifty.ne.jp>
 <87v9k4e8zz.fsf@Otto.invalid>
Date: Mon, 22 Mar 2021 21:13:42 +0100
In-Reply-To: <87v9k4e8zz.fsf@Otto.invalid> (ASSI's message of "Sat, 06 Jun
 2020 13:20:16 +0200")
Message-ID: <87czvrc5ft.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: This mail is considered clean (visit http://www.eleven.de for
 further information)
X-purgate: clean
X-purgate-size: 2119
X-purgate-ID: 155817::1616444026-00004492-A4530601/0/0
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL,
 RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
 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
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

ASSI writes:
> Takashi Yano via Cygwin writes:
>>> 1. Rename /usr/share/locale to something else, like local.bak.
>>> 2. Start mintty in the usual way.
>>> 3. Rename the directory from step 1 back to /usr/share/local.
>>> 4. Work just like the problem never existed either in the shell running
>>> inside the mintty or even start a new mintty.
>>
>> I guess renaming /usr/share/locale/locale.alias is enough.
>
> I've had some time to look into this problem again after having updated
> Cygwin to the latest and greatest.  Indeed, when
>
> /usr/share/locale/locale.alias
>
> gets renamed, the problem also goes away.  This is great because I don't
> really need the locale aliases for anything.  Btw, my laptop got
> upgraded to Win10 1909 (Enterprise) in the meantime, so the issue isn't
> specific to 1803 as was supected earlier.
>
> I then tried to figure out what exactly causes the problem and it turns
> out that it's the _presence_ of this file with the additional condition
> that it must not be owned by the user starting the mintty/shell.  Since
> I install Cygwin on my work laptop with a different (admin) account and
> not my (non-admin) user account, that explains why I am seeing the
> problem there and not on other machines.  Before you are going to
> suggest that it's the admin vs. non-admin rights: no, if I create a
> locale.alias with my user account (either as an empty file or a copy of
> the backup file), then the admin account is unable to start a shell in
> mintty successfully.  I have no idea why the ownership of a file that
> only should get read (and is readable by everyone) would have the
> effect I'm seeing, but maybe that gives the clue on where to look for a
> fix.

With the 3.1.2 test version of Cygwin these errors no longer occur (as
well as a few others that I worked around with CYGWIN=disable_pcon as an
intermediate measure).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
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
