On 2022-01-14 10:42:56, Harald Dunkel wrote:
Hi folks,
trying to upgrade the installed packages I get
# pkg_add -u
https://cdn.openbsd.org/pub/OpenBSD/7.0/packages-stable/amd64/: TLS connect
failure: failed to open CA file '/etc/ssl/cert.pem': Permission denied
https://cdn.openbsd.org/pub/OpenBSD/7.0/packages/amd64/: TLS connect failure:
failed to open CA file '/etc/ssl/cert.pem': Permission denied
https://cdn.openbsd.org/pub/OpenBSD/7.0/packages/amd64/: empty
Couldn't find updates for bash-5.1.8 bzip2-1.0.8p0 ...
chmod a+rx /etc/ssl
did the trick, but this doesn't look reasonable.
In general, if there is a permission problem due to file system
access bits, then it would be wise to include euid and egid in
the error message.
Harri