[GHC] #6017: Reading ./.ghci files raises security issues

GHC ghc-devs at haskell.org
Sat Jun 10 13:00:02 UTC 2017


#6017: Reading ./.ghci files raises security issues
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  7.4.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8248             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by taylorfausak):

 I understand that this is an old issue, GHCi has behaved like this
 forever, and the `-ghci-script` workaround exists. Nonetheless this
 behavior always surprises and annoys me. Even if I run `chmod g-w .ghci`
 GHCi still complains that `. is writable by someone else` and ignores my
 `.ghci` file. I would like it if this permission check didn't exist at
 all, especially for directories and doubly so for `~/.ghci`.

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


More information about the ghc-tickets mailing list