aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh/templates
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-12-05 13:45:59 +0000
committerColin Guthrie <colin@mageia.org>2013-12-05 13:45:59 +0000
commit0aae0eaa6bf3f22de34437d24dde1b6fba78c92b (patch)
treee43f19aae1c2b3edb27c40e7556941bde4ca01e4 /modules/openssh/templates
parent56561423af97ae8aefa1d28498f72c95cb51df62 (diff)
downloadpuppet-0aae0eaa6bf3f22de34437d24dde1b6fba78c92b.tar
puppet-0aae0eaa6bf3f22de34437d24dde1b6fba78c92b.tar.gz
puppet-0aae0eaa6bf3f22de34437d24dde1b6fba78c92b.tar.bz2
puppet-0aae0eaa6bf3f22de34437d24dde1b6fba78c92b.tar.xz
puppet-0aae0eaa6bf3f22de34437d24dde1b6fba78c92b.zip
Partially revert part of r3378 which wasn't meant to be in the commit :(
Diffstat (limited to 'modules/openssh/templates')
-rwxr-xr-xmodules/openssh/templates/ldap-sshkey2file.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/openssh/templates/ldap-sshkey2file.py b/modules/openssh/templates/ldap-sshkey2file.py
index f0a61eed..e393e29b 100755
--- a/modules/openssh/templates/ldap-sshkey2file.py
+++ b/modules/openssh/templates/ldap-sshkey2file.py
@@ -70,8 +70,6 @@ def write_keys(keys, user, uid, gid):
os.chown(keyfile, uid, gid)
os.chmod("%s/%s/.ssh" % (keypathprefix,user), 0700)
os.chown("%s/%s/.ssh" % (keypathprefix,user), uid, gid)
- os.chmod("%s/%s" % (keypathprefix,user), 0700)
- os.chown("%s/%s" % (keypathprefix,user), uid, gid)
if len(sys.argv) != 1:
usage()