diff options
author | Garrett Holmstrom <gholms@eucalyptus.com> | 2012-09-22 19:35:07 -0700 |
---|---|---|
committer | Garrett Holmstrom <gholms@eucalyptus.com> | 2012-09-22 19:35:07 -0700 |
commit | d852495da6ae8eefee0ff7d2de14c398c0a87a51 (patch) | |
tree | 0e8ae519134f70354f783122478a136155d74628 /cloudinit | |
parent | 94b9647e4df742982cac8a2c2925fb4894281dbf (diff) | |
download | vyos-cloud-init-d852495da6ae8eefee0ff7d2de14c398c0a87a51.tar.gz vyos-cloud-init-d852495da6ae8eefee0ff7d2de14c398c0a87a51.zip |
Use 0440 permissions on sudoers, not 0644
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/distros/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index 3e9d934d..612d44af 100644 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -339,7 +339,7 @@ class Distro(object): content += "\n" if not os.path.exists(sudo_file): - util.write_file(sudo_file, content, 0644) + util.write_file(sudo_file, content, 0440) else: try: |