[Haskell-cafe] Problematic fixed "stack ghci" temporary script (parent) directory
Vanessa McHale
vamchale at gmail.com
Sun Oct 6 16:24:50 UTC 2019
Does
cabal repl
work?
On 10/6/19 1:36 AM, Viktor Dukhovni wrote:
> When I run "stack ghci", an attempt is made to create a temporary
> directory named:
>
> /tmp/haskell-stack-ghci/<unique-subdir>
>
> in which various temporary artefacts are stored. The parent
> directory is created with permissions (0777 & ~umask).
>
> Security issues aside, this can't work reliably on a multi-user
> system. Does anyone know whether this is something peculiar
> to my FreeBSD setup, or a systemic issue with "stack ghci"?
>
> I don't see the same behaviour with "stack script", though
> if I create a script to run in "/tmp", then ghc is, somewhat
> unexpectely, executed with "-i/tmp/", which also has security
> implications...
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20191006/daf000ba/attachment.sig>
More information about the Haskell-Cafe
mailing list