balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
452 stars 138 forks source link

Should not require elevated privileges to config inject into disk image #784

Open jhermsmeier opened 6 years ago

jhermsmeier commented 6 years ago

Currently, the resin CLI requires elevated privileges even for operations that wouldn't require them, for example injecting configuration into an image on disk rather than a blockdevice;

$ resin config inject --type beaglebone-black --drive Downloads/resin-BBBB-2.7.5+rev2-v6.3.6.img Downloads/BBBB.config.json

You don't have enough privileges to run this operation.
Run a new Command Prompt as administrator and try running this command again.

If this is not the case, and you're trying to burn an SDCard, check that the write lock is not set.

If you need help, don't hesitate in contacting us at:

  GitHub: https://github.com/resin-io/resin-cli/issues/new
  Forums: https://forums.resin.io

Front logo Front conversations

pdcastro commented 5 years ago

Related to issues #385, #477, #542, #550, #572.