GoogleCloudPlatform / gsutil

A command line tool for interacting with cloud storage services.
Apache License 2.0
875 stars 335 forks source link

gsutil config will make /etc/boto.cfg ineffective #168

Open skelterjohn opened 11 years ago

skelterjohn commented 11 years ago

If there is a system-wide /etc/boto.cfg, and someone runs "gsutil config", it will copy the entire contents of /etc/boto.cfg into ~/.boto (along with the new information added by the config subcommand). Then, if someone changes /etc/boto.cfg, all values will be overridden by the copy in ~/.boto.

Ideally, "gsutil config" would only write the values of things changed into ~/.boto.

skelterjohn commented 11 years ago

Additionally, $BOTO_PATH is set and $BOTO_CONFIG is not, all of those config entries will be written into ~/.boto.