From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp02.aussiebb.com.au (smtp02.aussiebb.com.au [IPv6:2403:5800:3:25::1002]) by sourceware.org (Postfix) with ESMTPS id 3BCA33858D39 for ; Fri, 26 Aug 2022 03:22:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3BCA33858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=shaddybaddah.name Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=shaddybaddah.name Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp02.aussiebb.com.au (Postfix) with ESMTP id 4BA06100FB1 for ; Fri, 26 Aug 2022 13:22:29 +1000 (AEST) X-Virus-Scanned: Debian amavisd-new at smtp02.aussiebb.com.au Received: from smtp02.aussiebb.com.au ([127.0.0.1]) by localhost (smtp02.aussiebb.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02Y1Fqipp1vJ for ; Fri, 26 Aug 2022 13:22:29 +1000 (AEST) Received: by smtp02.aussiebb.com.au (Postfix, from userid 116) id 41F9110124D; Fri, 26 Aug 2022 13:22:29 +1000 (AEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Received: from [127.0.0.1] (159-196-105-148.9fc469.syd.nbn.aussiebb.net [159.196.105.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: sb-beryllium@aussiebb.com.au) by smtp02.aussiebb.com.au (Postfix) with ESMTPSA id 840941011E8 for ; Fri, 26 Aug 2022 13:22:28 +1000 (AEST) Message-ID: <310e03a1-943c-4e37-6130-197742917a57@aussiebb.com.au> Date: Fri, 26 Aug 2022 13:22:22 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 From: Shaddy Baddah Subject: Resend: ca-certificates postinstall permission denied error References: <0deb131e-26bd-7180-b23f-caf03387a5ea@aussiebb.com.au> To: cygwin@cygwin.com In-Reply-To: <0deb131e-26bd-7180-b23f-caf03387a5ea@aussiebb.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: Hi, On 26/08/2022 1:10 pm, Shaddy Baddah wrote: > Hi, Getting consistent permission denied errors on postinstall of Apologies for the rendering of the original email. Email client did something unexpected with line breaks. I've loopback tested this resend first. Getting consistent permission denied errors on postinstall of ca-certificate. It appears to be oversight, out of a well-intentioned attempt to protect script generated reference files. There error as it appears in setup.log.full: 2022/08/26 11:39:07 running: e:\cygwin-x86_64\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh" /usr/bin/ln: failed to create symbolic link '/etc/pki/ca-trust/extracted/pem/directory-hash/ca-certificates.crt': Permission denied /usr/bin/ln: failed to create symbolic link '/etc/pki/ca-trust/extracted/pem/directory-hash/ca-bundle.crt': Permission denied 2022/08/26 11:39:21 abnormal exit: exit code=1 The directory permissions are: $ ls -ld /etc/pki/ca-trust/extracted/pem/directory-hash/ dr-xr-xr-x 1 joebloggs Domain Users 0 Aug 26 11:39 /etc/pki/ca-trust/extracted/pem/directory-hash/ I've experienced this on two installs, both where I run setup exe with -B, no privelege elevation). Both installs have had an manual manipulation of the directory, or its parents up to /etc. -- Regards, Shaddy