summaryrefslogtreecommitdiff
path: root/src/share
diff options
context:
space:
mode:
Diffstat (limited to 'src/share')
-rw-r--r--src/share/ma/setup9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/share/ma/setup b/src/share/ma/setup
index 1685e5d..8929871 100644
--- a/src/share/ma/setup
+++ b/src/share/ma/setup
@@ -15,15 +15,16 @@ setup() {
# make all needed directories
log debug "make authentication directory structure..."
mkdir -p "${MADATADIR}"
- chmod 750 "${MADATADIR}"
+ chmod 0750 "${MADATADIR}"
chgrp "$MONKEYSPHERE_USER" "${MADATADIR}"
mkdir -p "${MATMPDIR}"
- chmod 750 "${MATMPDIR}"
+ chmod 0750 "${MATMPDIR}"
chgrp "$MONKEYSPHERE_USER" "${MATMPDIR}"
mkdir -p "${GNUPGHOME_CORE}"
- chmod 700 "${GNUPGHOME_CORE}"
+ chmod 0700 "${GNUPGHOME_CORE}"
mkdir -p "${GNUPGHOME_SPHERE}"
- chmod 700 "${GNUPGHOME_SPHERE}"
+ chmod 0700 "${GNUPGHOME_SPHERE}"
+ mkdir -p "${SYSDATADIR}"/authorized_keys
# deliberately replace the config files via truncation
# FIXME: should we be dumping to tmp files and then moving atomically?