avh4/binwrap

work without permissions to create unpacked_bin

Open

#21 创建于 2018年12月22日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (15 fork)github user discovery
help wanted

仓库指标

Star
 (39 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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/

贡献者指南