From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id F2B303858D29 for ; Mon, 22 Mar 2021 20:13:50 +0000 (GMT) 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 Received: from smtp.vodafone.de (smtpa04.fra-mediabeam.com [10.2.0.35]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id B3C78120D56 for ; Mon, 22 Mar 2021 21:13:48 +0100 (CET) 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= Received: from Gertrud (p57b9d8ab.dip0.t-ipconnect.de [87.185.216.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 911201401A3 for ; Mon, 22 Mar 2021 20:13:46 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: cygwin-3.1.0 and mintty from desktop shortcut References: <87pngmx26z.fsf@Rainer.invalid> <20191218090415.GG10310@calimero.vinschen.de> <87a77pbn5j.fsf@Rainer.invalid> <87blp2lr6p.fsf@Rainer.invalid> <20200311195142.GH4042@calimero.vinschen.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 Content-Type: text/plain 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 20:13:53 -0000 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