From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx009.vodafonemail.xion.oxcs.net (mx009.vodafonemail.xion.oxcs.net [153.92.174.39]) by sourceware.org (Postfix) with ESMTPS id 6738A3840C03 for ; Sat, 6 Jun 2020 11:20:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6738A3840C03 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 vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 0F7FE604216 for ; Sat, 6 Jun 2020 11:20:23 +0000 (UTC) Received: from Otto (unknown [91.47.56.99]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id C6DCE603F80 for ; Sat, 6 Jun 2020 11:20:20 +0000 (UTC) From: ASSI 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> Date: Sat, 06 Jun 2020 13:20:16 +0200 In-Reply-To: <20200313100325.fe62798353f4c719ecf565e0@nifty.ne.jp> (Takashi Yano via Cygwin's message of "Fri, 13 Mar 2020 10:03:25 +0900") Message-ID: <87v9k4e8zz.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, 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: Sat, 06 Jun 2020 11:20:26 -0000 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 onnly 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs