X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/distorted-keys/blobdiff_plain/28bb1ec395f56d0b6fe7d2904b5c59c7cbddab87..HEAD:/keyfunc.sh.in diff --git a/keyfunc.sh.in b/keyfunc.sh.in index c8a6073..dca8dee 100644 --- a/keyfunc.sh.in +++ b/keyfunc.sh.in @@ -425,13 +425,14 @@ c_genkey () { ## options to the key type. ## Set options and check them. + kopt_owner=$kowner kopt_label=$klabel setprops "option" kopt_ "$@" checkprops "option" kopt_ "$k_genopts" ## Create directory structure and start writing metadata. rm -rf "$kdir.new" mkdir -m755 -p "$kdir.new" - case "$knub" in */*) mkdir -m700 -p "${knub%/*}" ;; esac + case "$knub" in */*) mkdir -m755 -p "${knub%/*}" ;; esac cat >"$kdir.new/meta" <