Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work without permissions to create unpacked_bin #21

Open
avh4 opened this issue Dec 22, 2018 · 0 comments
Open

work without permissions to create unpacked_bin #21

avh4 opened this issue Dec 22, 2018 · 0 comments

Comments

@avh4
Copy link
Owner

avh4 commented Dec 22, 2018

From stoeffel/elmi-to-json#20 (comment), the issue seems to be that $NODE_HOME/<package name> is owned by root, but then the install script (or the wrapper script itself if you install with scripts disabled) can't create a folder there (and also couldn't download or modify files there).

The planned fix is that if it doesn't have write access there then it should fallback to unpacking the binaries to ${XDG_CACHE_HOME:-$HOME/.cache}/<package name>-binwrap/

@avh4 avh4 changed the title unpacked_bin isn't created or is removed? work without permissions to create unpacked_bin Oct 19, 2019
@avh4 avh4 added this to the 0.2.3 (next release) milestone Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant