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.
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.