[Fwd: Bug#94739: ./.ghci -- isn't it dangerous?]
Simon Marlow
simonmar at microsoft.com
Mon Apr 30 09:28:38 EDT 2001
> In local.glasgow-haskell-bugs, you wrote:
> >fstat() (this is one reason why using access() is generally
> >discouraged). Using fstat() isn't particularly convenient
> from Haskell
> >- there's Posix.getFdStatus, but we'd have to use the Posix openFile
> >interface and fdToHandle. Alternatively we also can check
> ownership of
> >the directory.
>
> And the ownership of .., and ../.. and ...
good point. Ok, I'm just going to disable reading ./.ghci altogether
until we have a safe way to deal with this. I'll add something to the
user's guide describing how to re-enable it via ~/.ghci.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list