www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/08/25/23:23:37

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 <lithium-cygwin AT shaddybaddah DOT name>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

On 26/08/2022 1:10 pm, Shaddy Baddah wrote:
> Hi, Getting consistent permission denied errors on postinstall of <snip/>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019