From 7aaeabeccaa7c39cb7b7850f7bb2d755a060d186 Mon Sep 17 00:00:00 2001
From: Leigh B Stoller <stoller@flux.utah.edu>
Date: Wed, 28 Jan 2015 07:35:45 -0700
Subject: [PATCH] Fix to previous revision; forgot to remove the old mkdir.

---
 account/mkusercert.in | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/account/mkusercert.in b/account/mkusercert.in
index 3003a61ee1..5f01755ee4 100755
--- a/account/mkusercert.in
+++ b/account/mkusercert.in
@@ -574,18 +574,8 @@ else {
 }
 
 #
-# Copy the certificate to the users .ssl directory.
-#
-my $ssldir = "$USERDIR/$user_uid/.ssl";
-if (! -d $ssldir) {
-    mkdir($ssldir, 0700) or
-	fatal("Could not mkdir $ssldir: $!");
-
-    chown($user_number, $default_groupgid, $ssldir)
-	or fatal("Could not chown $ssldir: $!");
-}
-
 # Drop the file into the user .ssl directory.
+#
 $UID = $EUID;
 system("$SSH -host $CONTROL ".
        "'$ACCOUNTPROXY dropfile $user $default_groupgid 0600 $ssldir ".
-- 
GitLab