[Haskell-cafe] GHC bindist permissions (Was: [ANNOUNCE] GHC 9.4.1-rc1 is now available)

Henning Thielemann lemming at henning-thielemann.de
Mon Aug 8 09:35:49 UTC 2022


On Fri, 5 Aug 2022, Ben Gamari wrote:

> What is the umask in your environment (e.g. just running the `umask`
> command on the shell will print it).

The now released GHC-9.4.1-deb11-amd64 bindist correctly generates files 
for user 'root' and with global read permissions. Except:

$ ll /usr/local/ghc-9.4.1/lib/ghc-9.4.1/lib/package.conf.d
drwxr-xr-x 1 root root   3356  8. Aug 11:15 .
drwxr-xr-x 1 root root    240  8. Aug 11:15 ..
-rw------- 1 root root   1666  8. Aug 11:15 array-0.5.4.0.conf
-rw------- 1 root root   1666  8. Aug 11:15 array-0.5.4.0.conf.copy
-rw------- 1 root root   6344  8. Aug 11:15 base-4.17.0.0.conf
-rw------- 1 root root   6344  8. Aug 11:15 base-4.17.0.0.conf.copy
-rw------- 1 root root   1897  8. Aug 11:15 binary-0.8.9.1.conf
-rw------- 1 root root   1897  8. Aug 11:15 binary-0.8.9.1.conf.copy
...

The global read permissions for the *.conf files are missing.


More information about the Haskell-Cafe mailing list