diff options
author | Colin Guthrie <colin@mageia.org> | 2013-12-05 13:45:59 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-12-05 13:45:59 +0000 |
commit | 0aae0eaa6bf3f22de34437d24dde1b6fba78c92b (patch) | |
tree | e43f19aae1c2b3edb27c40e7556941bde4ca01e4 /modules/openssh/templates | |
parent | 56561423af97ae8aefa1d28498f72c95cb51df62 (diff) | |
download | puppet-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-x | modules/openssh/templates/ldap-sshkey2file.py | 2 |
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() |