Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

elm-repl derps in read-only directories #138

Open
bukzor opened this issue Nov 20, 2016 · 2 comments
Open

elm-repl derps in read-only directories #138

bukzor opened this issue Nov 20, 2016 · 2 comments

Comments

@bukzor
Copy link

bukzor commented Nov 20, 2016

A demonstration:

$ cd /
$ elm-repl
---- elm-repl 0.18.0 -----------------------------------------------------------
 :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------
> 1
elm-repl: repl-temp-000.elm: openFile: permission denied (Permission denied)

If this were a bash script, I'd use one of ${TMPDIR:-/tmp} or $(mktemp -d).
Surely there's a haskell package that gives you a cross-platform tmpdir.

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@bukzor
Copy link
Author

bukzor commented Nov 20, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants