Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
7aaeabec
Commit
7aaeabec
authored
Jan 28, 2015
by
Leigh B Stoller
Browse files
Fix to previous revision; forgot to remove the old mkdir.
parent
fddf670c
Changes
1
Hide whitespace changes
Inline
Side-by-side
account/mkusercert.in
View file @
7aaeabec
...
...
@@ -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
"
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment