avh4/binwrap

work without permissions to create unpacked_bin

Open

#21 ouverte le 22 déc. 2018

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (15 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (39 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

From https://github.com/stoeffel/elmi-to-json/issues/20#issuecomment-544173285, 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/

Guide contributeur