aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-12-05 13:42:52 +0000
committerColin Guthrie <colin@mageia.org>2013-12-05 13:42:52 +0000
commit56561423af97ae8aefa1d28498f72c95cb51df62 (patch)
tree224847bc9a249329f061e1ab7b4caea90f610b42 /modules/openssh
parent595a8caa2e1afbc5b3ccb122f4ef3e2fe30fea8d (diff)
downloadpuppet-56561423af97ae8aefa1d28498f72c95cb51df62.tar
puppet-56561423af97ae8aefa1d28498f72c95cb51df62.tar.gz
puppet-56561423af97ae8aefa1d28498f72c95cb51df62.tar.bz2
puppet-56561423af97ae8aefa1d28498f72c95cb51df62.tar.xz
puppet-56561423af97ae8aefa1d28498f72c95cb51df62.zip
Add mgaonline to the freeze exception pkg regexp
Diffstat (limited to 'modules/openssh')
-rwxr-xr-xmodules/openssh/templates/ldap-sshkey2file.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/openssh/templates/ldap-sshkey2file.py b/modules/openssh/templates/ldap-sshkey2file.py
index e393e29b..f0a61eed 100755
--- a/modules/openssh/templates/ldap-sshkey2file.py
+++ b/modules/openssh/templates/ldap-sshkey2file.py
@@ -70,6 +70,8 @@ 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()