From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rpt-cro-mail01.tpgi.com.au (rpt-cro-mail01.tpgi.com.au [60.241.0.56]) by sourceware.org (Postfix) with ESMTP id 284473858CDA for ; Fri, 26 Aug 2022 03:10:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 284473858CDA 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-TPG-Junk-Checked: Yes X-TPG-Junk-Status: Message not scanned because user authenticated using SMTP AUTH X-TPG-Abuse: host=159-196-105-148.9fc469.syd.nbn.aussiebb.net; ip=159.196.105.148; date=Fri, 26 Aug 2022 13:10:56 +1000; auth=ASEE3on8SLDtt4XvivdrsQSrrNcyTVoAxHrO3qXWtcs= Received: from [127.0.0.1] (159-196-105-148.9fc469.syd.nbn.aussiebb.net [159.196.105.148]) (authenticated bits=0) by rpt-cro-mail01.tpgi.com.au (envelope-from lithium-cygwin@shaddybaddah.name) (8.14.3/8.14.3) with ESMTP id 27Q3Ar8P001841 for ; Fri, 26 Aug 2022 13:10:56 +1000 Message-ID: Date: Fri, 26 Aug 2022 13:10:46 +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 To: cygwin@cygwin.com Subject: ca-certificates postinstall permission denied error Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SCC_BODY_URI_ONLY,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, 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