From 0aae0eaa6bf3f22de34437d24dde1b6fba78c92b Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Thu, 5 Dec 2013 13:45:59 +0000 Subject: Partially revert part of r3378 which wasn't meant to be in the commit :( --- modules/openssh/templates/ldap-sshkey2file.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/openssh') 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() -- cgit v1.2.1