elixir-lsp / vscode-elixir-ls

Elixir language support and debugger for VS Code, powered by ElixirLS.
https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls
MIT License
545 stars 105 forks source link

elixir: Permission Denied #362

Closed krainboltgreene closed 1 year ago

krainboltgreene commented 1 year ago

For some reason the launch.sh script doesn't have permission to run elixir. Currently I'm using codespaces, which is built from a dockerfile I wrote, the elixir binary comes from the deb install. It has root:root permission, but even setting all of bin to vscode:vscode I still get permission denied.

Troubleshooting

Crash report template

[Trace - 3:23:04 PM] Sending request 'initialize - (0)'.
Running /home/vscode/.vscode-remote/extensions/jakebecker.elixir-ls-0.15.3/elixir-ls-release/launch.sh
Looking for ASDF install in /home/vscode/.asdf/asdf.sh
/home/vscode/.vscode-remote/extensions/jakebecker.elixir-ls-0.15.3/elixir-ls-release/launch.sh: 83: elixir: Permission denied

image

lukaszsamson commented 1 year ago

I don’t think this is a problem with the extension. Please use elixir forum for support and reserve issue tracker for issues.

krainboltgreene commented 1 year ago

For some reason I thought I found the launch.sh in this repository, that said I think the issue is a little bit in the middle here. I'll open a ticket on the elixir-ls repository.