Resend: ca-certificates postinstall permission denied error

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Fri Aug 26 03:22:22 GMT 2022


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


More information about the Cygwin mailing list