[GHC] #8248: GHCi should not fail to honour ghci.conf or .ghci if group writable

GHC ghc-devs at haskell.org
Thu Nov 20 23:30:12 UTC 2014


#8248: GHCi should not fail to honour ghci.conf or .ghci if group writable
-------------------------------------+-------------------------------------
              Reporter:  afcowie     |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  GHCi        |          Version:  7.6.3
            Resolution:              |         Keywords:
      Operating System:  Linux       |     Architecture:  Unknown/Multiple
       Type of failure:  GHC         |       Difficulty:  Unknown
  rejects valid program              |       Blocked By:
             Test Case:              |  Related Tickets:  #9324
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by mboes):

 This check used to make GHCi way too fussy, but I'm quite happy with the
 current compromise (check is ignored when providing -ghci-script
 explicitly, or when user is root). Perhaps just improve the warning
 message to explain to the user exactly what is making GHCi unhappy and how
 to fix it? A umask of 002 only affects the default permissions, but it's
 easy enough for the user to chmod to something known to be safe.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8248#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list