delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/12/11:00:14

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53CF0DV6135064
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 53CF0DV6135064
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=VhN7Dw4t
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E394138356AE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744470011;
bh=nmCCq/2w+nFj2hjOmVUxeM9+X1M6c7FecEsM4GBFzTg=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=VhN7Dw4t80BoIU5xJ0M5SBjeQjnv4faJWSFsuB4hxCbhjsHmtHWJoM0Ww4K1V8cRu
gL4CyWVuAQ5Ns7kwKiQl17KhwkkZx1sWkPyQfT1ydF79kWC7DuGKzhbfmf1EtlZTjQ
7I4KYed381PI6h1BdW4/UQzE7IvA/5SgcwrNZQ7U=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D3473858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D3473858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744469987; cv=none;
b=mxV2JedUXo+Q+5LICCKigZld98ydkntyfcaAsgwmwyvvYdXbqEvCWdSTegg7hHExqYzLTnRdf9Hrsh0gwYtDF7cG+UlAOI79YBXrsVbMwvj/5oqAT978lNfvSLtxXoRFQmlZYmEVD2/LouSMCinTRbhBvkOqMp6oh0tUvFzsvhk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744469987; c=relaxed/simple;
bh=P5nUwQpg1OX8VJnGKf7iiunXS9hm2RNyilZ3L5gbJoI=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;
b=GTtrXfapv2KLSE+kDqlWvMB0w12CodC/avH+H2CBL788UTzE5PUOWrSSphnRTxUK8xpYPz3UKouK5Arb9uqqQ3aN0ByPReGQ4XrH0aXTszrGDZH1ZnTun+FMYw55K8IkgPyYhZi6qIqqctAVSWdGWEgnHcrgqd0REfSCjQrnJgs=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D3473858D26
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1744469986; x=1745074786;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=eAVFoDPKbaQzljArtpih+b7ky1W10yZEsqTL6ghduDE=;
b=vbTM7mBWC3YwYLoxqIc/qoWzNPpipQCCev1OBaDD2Tr6ZL+rzt1w6GCYQXLbXQUYrG
vUD+Ld2zgI7eJ1wi0HCJFnt26sX1nIOhKs/MKFvpjeiJhZu27np73o35yw1SJg8Pl9Sc
iqhfi2GSuwGlFi/uRl/sZ8nDJQtx2I7z0eFegM4KFTd80PrpS1y9hCE24JV7Fz05wCH2
HD99KXI9tJmuj+smpKiL3KQOFUunUVPuN8QxGgRkLGpey4iCnsCexuS3+6GJ3cqNW5NJ
PQOGOGIkoeYUuek3UeivnoYaLLNsl4dhIve4XEz6edN7qs3DAlpUi4wg5HLgshByD7bz
dH+g==
X-Gm-Message-State: AOJu0YxaHiFiwqEOoqlt8v240aUIUXCwPVJDJ5rTtJs0LCwCbx9cpaKe
ttFLr5v/KhZH44Pb5WDJ5lGkTvqHcA+bcpFNYl88jhrTSR4qevIG3clCwg==
X-Gm-Gg: ASbGnctznDCCB95f704wDGKbj0A2JraQPCWZWT6huAC4SsSkFQCL3dg1uOFL0sLQTOJ
6VvLGkmcLD5i+OdLeYaCgmbpcSLHWjiUhuM/DDvOu0WHeu/P8xQVA8KBvCE5Y2+o/jxKNgZAXjb
R/HDEdrEM2d7kghRlmwRlhUSt27m5oI+simmeHWAzyoV8sUJGgLJ/gqVPyg+gfZ4rWOIpz6rzPh
BITz+HTxonnjzAMhW22zowdm2jvpTZrNvi4BX2ryBnOA109Ik7N7QWc1AUYZMVCKMIN0PNh7xC8
Ye34PUnJbmoaznn4GzGoBnZaFxhQwFl7drQN82BQe9XgvGTxepthoFWRo3wSWGcmh4gpBtdfKe5
NTg2tM0pMgjs6woQUSDN8aA==
X-Google-Smtp-Source: AGHT+IH8veQ/Mf+e3CvOG3wE7cxi4PS3D2UcKiEFCdT2AcRIItiHwIOKyGwPPLvms0WSqwi7vXvXrw==
X-Received: by 2002:a17:902:ce87:b0:224:216e:38bd with SMTP id
d9443c01a7336-22bea4adf0dmr33509615ad.5.1744469986025;
Sat, 12 Apr 2025 07:59:46 -0700 (PDT)
Message-ID: <878a6dfe-e395-456d-9893-820d8679c999@gmail.com>
Date: Sat, 12 Apr 2025 23:59:58 +0900
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: cygwin AT cygwin DOT com
Subject: mksetupini aborts if run by a normal user
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: ggl329 via Cygwin <cygwin AT cygwin DOT com>
Reply-To: ggl329 <ggl329 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

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 <module>
     from calm.mksetupini import main
   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 846, in exec_module
   File "<frozen importlib._bootstrap_external>", line 982, in get_code
   File "<frozen importlib._bootstrap_external>", 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


-- 
   ggl329 AT gmail DOT com


-- 
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

- Raw text -


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