Skip to content

missing read permission for package.cache

Summary

When installing GHC from the Debian tarball, package.cache misses read permissions.

Steps to reproduce

$ ll /usr/local/ghc-9.2.0.20210422/lib/ghc-9.2.0.20210422/package.conf.d/package.cache
-rw------- 1 root root 188641 23. Apr 16:56 /usr/local/ghc-9.2.0.20210422/lib/ghc-9.2.0.20210422/package.conf.d/package.cache

Expected behavior

I can solve the problem with

$ sudo chmod a+r /usr/local/ghc-9.2.0.20210422/lib/ghc-9.2.0.20210422/package.conf.d/package.cache

Environment

Used archive:

https://downloads.haskell.org/ghc/9.2.1-alpha2/ghc-9.2.0.20210422-x86_64-deb10-linux.tar.xz

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information