X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B74C23858D32
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=zendro.de
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zendro.de
Message-ID: <b1069179-095f-9073-a2c0-78e43f96f704@zendro.de>
Date: Mon, 29 Aug 2022 11:36:14 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
From: Markus Hansmair <markus+cygwin@zendro.de>
Subject: Re: ca-certificates postinstall permission denied error
To: cygwin@cygwin.com
References: <0deb131e-26bd-7180-b23f-caf03387a5ea@aussiebb.com.au>
 <310e03a1-943c-4e37-6130-197742917a57@aussiebb.com.au>
 <877d2vcyc4.fsf@Otto.invalid>
Content-Language: de-DE
In-Reply-To: <877d2vcyc4.fsf@Otto.invalid>
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hello,

may I chime in...

I had the very same issue. In an enterprise environment I'm forced to do

setup --no-admin --no-desktop

Am 26.08.22 um 08:28 schrieb ASSI:
> Can you try if these patches fiy your issue (if you havent installed 
> ca-certificates-letsencrypt then obviously the second one will not 
> apply)?
> 
> [...]

I applied this patch and can confirm that the error message has gone. I 
ran the script as follows:

1. Started cmd.exe

2. set PATH=C:\<path-to-cygwin-installation>\bin;%PATH%

3. C:\<path-to-cygwin-installation>\bin\bash.exe --norc --noprofile 
"/etc/postinstall/ca-certificates.sh"

Step 3 is one line and was logged by the setup program before it 
reported "abnormal exit: exit code=1"

Sorry, I cannot tell anything about ca-certificates-letsencrypt.sh as 
the corresponding package has not been installed.

Kind regards

Markus Hansmair

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