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 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= 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 AT cygwin DOT com Subject: ca-certificates postinstall permission denied error 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" 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 -- 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