DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53D72hag443336 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53D72hag443336 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Z7eIwmCr X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BA133858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1744527761; bh=VIpxBeyz5+mEpEsupiF8QnYQYH0OpQ2rl5+/uYLGrvs=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Z7eIwmCrRCSoNi1AZ5EdKEJThzkRL3K67CWh0LzSiWSoTSdvx5LnHXGtSC6jawLhS vxyqZa4Klaku+rR1an/sJTKrTCnl0b4UZa7YaaFN7uQ4992Cx0H4AbFcZRIpn9HwD7 DkpltVdgneAP2LsMulPl6fCHzU1cXvos1zBZ9WWE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 595CF3858D1E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 595CF3858D1E ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744527736; cv=none; b=s9v93lvNjo9KdhK8pnLilG7B2lt6x0UdN1gpYER8MtfwSv2gqok+pAL16LjmkckkyiAcdkEugT2WmCLtwSdS0BktcLn5gBBqyXrSEz7oEV2PChkBR7GXo3E3QUh9896l6WhhT3Owis1G9eOxDn7xHrL7P5Y+EAeLB1NFqv8Bv2k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744527736; c=relaxed/simple; bh=84HUb4gVXFH+EhXontLBAaiQOPWqdbvKWr66B5K+D+g=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=nB7C5SVoXmzkpQ2mKWAiO/TCGBoMPr5xpvzp6Ws814DtRIB1/l9trTq4eoJ22C3K0LlgBiDzfDQuu+JwLUc3ET1gN9fFphkLvJCHvEEHZ6vhW02paEAgOuU2972H2OJSRzWUAr4bydOh+Ez8SUZEKwRJQEWIcrSFhMoMQMLYviE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 595CF3858D1E Message-ID: Date: Sun, 13 Apr 2025 01:02:13 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: mksetupini aborts if run by a normal user To: cygwin AT cygwin DOT com References: <878a6dfe-e395-456d-9893-820d8679c999 AT gmail DOT com> Content-Language: en-CA Organization: Systematic Software In-Reply-To: <878a6dfe-e395-456d-9893-820d8679c999@gmail.com> X-Rspamd-Queue-Id: 553642000F X-Stat-Signature: zoeaxcoz84akw8dit9hbpquyjd3q7gfd X-Rspamd-Server: rspamout07 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX189MLj4wUGpPNTHHMsC80xIQPhlHJzhMMk= X-HE-Tag: 1744527734-155529 X-HE-Meta: U2FsdGVkX1/6U+oyxTaWpz3wolyDcS4iFDZmURV4k+N8eAbtAKqKMpkn8Gsgt4RH4UrPlK2cu4sLqvR+3xPNFwSYBCkic4Wr9uTlQ0LV75D6aQceibL4srL4/NF9S/8ad6cZ3paeIV5XJpg+mRqC8xcC8mrMLygSG1HqdlMnc2/6+6b0YIjvnkapbQX8Ma6tyvzmvOz42RMyvFQi8673EsUxpk3eep/7OTAFgDrFVDxB2KICDPrJzVY0EY7Rehyj+d4ux2l2LWNfdQ6wcRux9BqdTX+WZX2ywQyEqeQ6LebG6nJm3GcK33yoOyFQ3nwxCq/+wD7tFRqk8JwHJoMz2OfJRUitze2H X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53D72hag443336 On 2025-04-12 08:59, ggl329 via Cygwin wrote: > Hi Jon, > > Thanks for updating calm package. > > Usually, I work as a normal user. (i.e., not as root or an administrator) > In this case, mksetupini aborts with a permission error. > It is because Python library files do not have permission to normal users. > Could you modify the file permissions so that they are accessible to non- > privileged users? > > $ cygcheck -dc | grep calm > calm                                    20250329-1 > > $ mksetupini > Traceback (most recent call last): >   File "/usr/bin/mksetupini", line 5, in >     from calm.mksetupini import main >   File "", line 1007, in _find_and_load >   File "", line 986, in _find_and_load_unlocked >   File "", line 680, in _load_unlocked >   File "", line 846, in exec_module >   File "", line 982, in get_code >   File "", line 1039, in get_data > PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/site- > packages/calm/__init__.py' > > $ ls -ld /usr/lib/python3.9/site-packages/calm > drwxrwx--- 1 root Administrators 0 Apr 12 23:23 /usr/lib/python3.9/site- > packages/calm > > $ ls -ld /usr/share/doc/calm > drwxrwx--- 1 root Administrators 0 Apr 12 23:23 /usr/share/doc/calm Previously installed python packages all have a+r files and a+rx dirs, with .py one or the other, including the previous calm tars, whereas the latest release file perms in the tar are not all consistent with each other or previous releases, also for the .../calm...dist-info dir and files! -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- 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