[GHC] #14017: "make install" with non-standard umask causes bad permission on package.cache
GHC
ghc-devs at haskell.org
Sun Jul 23 13:31:18 UTC 2017
#14017: "make install" with non-standard umask causes bad permission on
package.cache
-------------------------------------+-------------------------------------
Reporter: djf | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: None | Version: 8.2.1-rc3
Keywords: | Operating System: Linux
Architecture: | Type of failure: Installing GHC
Unknown/Multiple | failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Using Debian 8 binary package ghc-8.2.1-x86_64-deb8-linux.tar.xz to
install with `configure` and then `su` and `make install`.
If your umask is 0027 rather than the default 0022, a file doesn't get
made world-readable. (Other files in this directory do though.)
{{{
$ ls -l /usr/local/lib/ghc-8.2.1/package.conf.d/package.cache
-rw-r----- 1 root staff 161490 Jul 23 10:02
/usr/local/lib/ghc-8.2.1/package.conf.d/package.cache
}}}
It results in this message when trying to use ghc or ghci:
{{{
$ ghci
GHCi, version 8.2.1: http://www.haskell.org/ghc/ :? for help
/usr/local/lib/ghc-8.2.1/package.conf.d/package.cache: openBinaryFile:
permission denied (Permission denied)
}}}
(n.b. I have set the version field in this bug to 8.2.1-rc3 for now
because 8.2.1 isn't in the list yet.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14017>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list