cp "${_PATH_SOURCE}" "${_PATH_TARGET_KEY}"
     echo "Writing ${_PATH_TARGET_LOCATION} …"
     printf '%s' "$(servername_to_location ${_FILENAME})" > "${_PATH_TARGET_LOCATION}"
-    chmod a-rwx "${_PATH_TARGET_KEY}" "${_PATH_TARGET_LOCATION}"
-    chmod u+rw "${_PATH_TARGET_KEY}" "${_PATH_TARGET_LOCATION}"
+    chmod a-rwx,u+rw "${_PATH_TARGET_KEY}" "${_PATH_TARGET_LOCATION}"
 }
 
 HELP_DESC_help='print this help and exit'
 
 #!/bin/sh
 set -e
 cd $(dirname "$0")
+. lib/abort
 . lib/audio_dev_is_mute
 
 MAX_LOUDNESS=150
     echo "  ${FLAG_HELP_SHORT}, ${FLAG_HELP_LONG}\tdisplay this help and exit"
 }
 
-error_exit() {
-    echo "Aborting due to $1\n"
-    print_usage
-    exit 1
-}
+error_exit() { abort "Aborting due to $1\n\n$(print_usage)"; }
 
 toggle_mute() {
     if audio_dev_is_mute; then