## 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" <<EOF
$profile
EOF