DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
218 stars 44 forks source link

Maintain local config file ownership when modifying config #268

Closed Piccirello closed 2 years ago

Piccirello commented 2 years ago

This fixes an issue where running sudo doppler update would result in the user's config file being owned by root. I tested an implementation locally that instead modifies the existing file in-place (or creates it if it doesn't exist), but I couldn't find a way to perform the [update or create] operation atomically.

Closes ENG-3389.