devops-works / binenv

One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
MIT License
367 stars 44 forks source link

cache.json & distributions.yml have wrong permissions in global mode #195

Closed leucos closed 2 years ago

leucos commented 2 years ago

In global mode, cache is not readable by users. While sudo is required for mutations, being able to read cache & distributions unprivileged in global mode is a must.

total 136
drwxr-xr-x  2 root root   4096 May  6 13:57 .
drwxr-xr-x 17 root root   4096 May  6 13:57 ..
-rw-r-----  1 root root 127172 May  6 13:57 cache.json
leucos commented 2 years ago

fixed in v0.19.3