diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-13 12:25:58 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-13 12:25:58 -0400 |
commit | b93d6398d799376a572414a30d7b4f02beadd137 (patch) | |
tree | 14378a31adb9c11fb2e995205af4ff254bfcc750 /src | |
parent | ca5d2766c5c143a34b095c5dcb3c829285b2c28e (diff) | |
parent | 3caa700a0443ab2499da42d32b3ffcd7039fc591 (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/monkeysphere b/src/monkeysphere index 5d865c9..6e71765 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -132,6 +132,11 @@ msAuthorizedKeys="$MS_HOME"/authorized_keys # make sure gpg home exists with proper permissions mkdir -p -m 0700 "$GNUPGHOME" +# make sure the user monkeysphere home directory exists +mkdir -p -m 0700 "$MS_HOME" +mkdir -p "$hostKeysCacheDir" +mkdir -p "$userKeysCacheDir" + case $COMMAND in 'update-known_hosts'|'update-known-hosts'|'k') MODE='known_hosts' |