X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 X-Virus-Scanned: Debian amavisd-new at smtp02.aussiebb.com.au 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 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 AT aussiebb DOT com DOT au> To: cygwin AT cygwin DOT com In-Reply-To: <0deb131e-26bd-7180-b23f-caf03387a5ea@aussiebb.com.au> X-BeenThere: cygwin AT cygwin DOT 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- 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