summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorGarrett Holmstrom <gholms@eucalyptus.com>2012-09-22 19:35:07 -0700
committerGarrett Holmstrom <gholms@eucalyptus.com>2012-09-22 19:35:07 -0700
commitd852495da6ae8eefee0ff7d2de14c398c0a87a51 (patch)
tree0e8ae519134f70354f783122478a136155d74628 /cloudinit
parent94b9647e4df742982cac8a2c2925fb4894281dbf (diff)
downloadvyos-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__.py2
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: