Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

config: use chmod 600 when writing config template

Updated exception.ConfigNotFound.create_config to call chmod 600 after
writing the config template. This makes it so that only the owner of the
file can view its contents which is important given that the config
template will eventually contain AWS security credentials.

closes gh-144
  • Loading branch information...
commit efb130c5ed5f71db3ea4dca6400f61714ac249e0 1 parent 30e72a4
@jtriley authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  starcluster/
1  starcluster/
@@ -239,6 +239,7 @@ def create_config(self):
cfg_file = open(self.cfg, 'w')
+ os.chmod(self.cfg, 0600)"Config template written to %s" % self.cfg)"Please customize the config template")
Please sign in to comment.
Something went wrong with that request. Please try again.