summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-05-15 18:22:32 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-05-15 18:22:32 +0100
commit3a5c3c15043ce951d8c206b6572ab142434e51f5 (patch)
treea76edfbc1561b2aed81c735457ac82c9d54a479a
parent7256e7c5a9943e2d3d2fbc497990f9a51c7d4db0 (diff)
downloadopenssh-3a5c3c15043ce951d8c206b6572ab142434e51f5.tar.gz
openssh.morph: fix permsissions on privsep dir
ssh wants a private directory, if it is readable to anyone but the user that owns it then it fails, so fix these permissions.
-rw-r--r--openssh.morph1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssh.morph b/openssh.morph
index 9aff9344..ac9d99b5 100644
--- a/openssh.morph
+++ b/openssh.morph
@@ -13,6 +13,7 @@
"install-commands": [
"make DESTDIR=\"$DESTDIR\" install",
"mkdir -p \"$DESTDIR/$PREFIX/sbin\"",
+ "chmod go= \"$DESTDIR\"/var/lib/sshd",
"install -m 744 sshd-keygen \"$DESTDIR/$PREFIX/sbin/sshd-keygen\"",
"mkdir -p \"$DESTDIR/lib/systemd/system/multi-user.target.wants\"",
"install -m 644 opensshd.service \"$DESTDIR/lib/systemd/system/opensshd.service\"",