work without permissions to create unpacked_bin
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
From https://github.com/stoeffel/elmi-to-json/issues/20#issuecomment-544173285, the issue seems to be that `$NODE_HOME/` 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}/-binwrap/`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the install script and wrapper script that create or modify the unpacked_bin directory. Check how they handle a non-writable $NODE_HOME/; done means binaries fall back to ${XDG_CACHE_HOME:-$HOME/.cache}/-binwrap/ when that location cannot be written.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100