diff options
| author | mokha <mokha@cisco.com> | 2018-03-22 10:06:13 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2018-03-22 10:06:13 -0600 |
| commit | a1372633fb1969526ddecc69b85163e90cd6bc95 (patch) | |
| tree | 29eb692409a7ffa2f72f208b787dbd69ef301570 /lib | |
| parent | 18d7947e27333304483ed9a06b2cac02363b6d75 (diff) | |
set file permission.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ats/cli/setup.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ats/cli/setup.rb b/lib/ats/cli/setup.rb index b8539f5..cfccd58 100644 --- a/lib/ats/cli/setup.rb +++ b/lib/ats/cli/setup.rb @@ -21,6 +21,7 @@ module ATS yaml = YAML.dump(default_settings) say yaml, :yellow IO.write(new_file, yaml) + File.chmod(0600, new_file) end private |
