[GHC] #8248: GHCi should not fail to honour ghci.conf or .ghci if group writable
GHC
ghc-devs at haskell.org
Tue Apr 7 13:58:27 UTC 2015
#8248: GHCi should not fail to honour ghci.conf or .ghci if group writable
-------------------------------------+-------------------------------------
Reporter: afcowie | Owner: whisky
Type: bug | Status: closed
Priority: normal | Milestone: 7.12.1
Component: GHCi | Version: 7.6.3
Resolution: wontfix | Keywords:
Operating System: Linux | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: #9324 | Differential Revisions: Phab:D805
-------------------------------------+-------------------------------------
Changes (by thomie):
* keywords: newcomer =>
* status: patch => closed
* resolution: => wontfix
Comment:
afcowie: I don't think there is a consensus to remove the current check.
Please use #6017 for further discussion.
For reference, this feature was introduced 14 years ago, in commit
dfbbfedc7e68d3095a37e4359b69eccc27e5398c:
{{{
Author: simonmar <unknown>
Date: Fri May 4 14:56:53 2001 +0000
[project @ 2001-05-04 14:56:53 by simonmar]
- only read ~/.ghci if it is owned by the current user and isn't
writable by anyone else.
- Only read ./.ghci if both . and ./.ghci are owned by the current
user and aren't writable by anyone else. I think this is
sufficient: we don't need to check .. and ../.. etc. because "."
always refers to the same directory while a process is running.
...
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8248#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list