balena-cli/build
Juan Cruz Viotti 445e37ccaf Call os initialize as an elevated process
Currently, the fact that `os initialize` requires elevated permissions
forced us to require calling commands that reuse it, such as `device
init` and `quickstart` with administrator permissions as well.

This ended up causing issues like saving images in the cache that belong
to root, or initializing git repositories that requires `sudo` to
commit.

The solution is to call `os initialize` as a child process preppending
`sudo` within `device init`.

Fixes: https://github.com/resin-io/resin-cli/issues/109
2015-10-01 13:07:53 -04:00
..
actions Call os initialize as an elevated process 2015-10-01 13:07:53 -04:00
utils Call os initialize as an elevated process 2015-10-01 13:07:53 -04:00
app.js Implement os initialize command 2015-09-29 14:52:34 -04:00
errors.js Highlight errors in red 2015-09-11 14:47:38 +03:00