Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
7aaeabec
Commit
7aaeabec
authored
Jan 28, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to previous revision; forgot to remove the old mkdir.
parent
fddf670c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
account/mkusercert.in
account/mkusercert.in
+1
-11
No files found.
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